aboutsummaryrefslogtreecommitdiff
path: root/src/libutil
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2016-07-18 18:50:27 -0400
committerShea Levy <shea@shealevy.com>2016-11-10 11:09:15 -0500
commit167d12b02cc8cadfaf7c28959532030d65687a8f (patch)
tree37907cb4370b395da98c592ae1b73070acd8ed2b /src/libutil
parent2af5d35fdc1171a9bdab7e2fc005673d76417c06 (diff)
build-remote: Implement in C++
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/util.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index 50b96f7ed..2e48034ae 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -292,6 +292,9 @@ void inline checkInterrupt()
MakeError(Interrupted, BaseError)
+MakeError(FormatError, Error)
+
+
/* String tokenizer. */
template<class C> C tokenizeString(const string & s, const string & separators = " \t\n\r");