aboutsummaryrefslogtreecommitdiff
path: root/lout/misc.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-01-28 23:42:35 +0100
committerSebastian Geerken <devnull@localhost>2015-01-28 23:42:35 +0100
commitf50adcb255631a1f84f5ba13b74b7eb4ce82b6d4 (patch)
treee8506b82c9cf1b6cfe61fd94b60c114a2e213584 /lout/misc.hh
parent365475ead8e88ff9721fe2e39be1ae3563a448da (diff)
Some RTFL.
Diffstat (limited to 'lout/misc.hh')
-rw-r--r--lout/misc.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lout/misc.hh b/lout/misc.hh
index a0beb1b6..1bc1c1de 100644
--- a/lout/misc.hh
+++ b/lout/misc.hh
@@ -64,6 +64,8 @@ inline int AsciiStrcasecmp(const char *s1, const char *s2)
return ret;
}
+inline const char *boolToStr (bool b) { return b ? "true" : "false"; }
+
/**
* \brief Simple (simpler than container::untyped::Vector and
* container::typed::Vector) template based vector.