aboutsummaryrefslogtreecommitdiff
path: root/lout/misc.hh
diff options
context:
space:
mode:
Diffstat (limited to 'lout/misc.hh')
-rw-r--r--lout/misc.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/lout/misc.hh b/lout/misc.hh
index 946ed821..24578f02 100644
--- a/lout/misc.hh
+++ b/lout/misc.hh
@@ -38,6 +38,12 @@ inline void assertNotReached ()
abort ();
}
+inline void notImplemented (const char *name)
+{
+ fprintf (stderr, "*** [%s] Not implemented: %s ***\n", prgName, name);
+ abort ();
+}
+
inline int roundInt(double d)
{
return (int) ((d > 0) ? (d + 0.5) : (d - 0.5));