summaryrefslogtreecommitdiff
path: root/src/KM_error.h
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2006-04-21 17:32:06 +0000
committerjhurst <>2006-04-21 17:32:06 +0000
commit4e83acbf365d9b87dfdc95aef5c46785b33d2269 (patch)
treeffb7c03653dae138339b79a5f52f4986061f4eb3 /src/KM_error.h
parent34464c5616c053942cf7bdbb919bd8845cb0ceae (diff)
kumu merge
Diffstat (limited to 'src/KM_error.h')
-rwxr-xr-xsrc/KM_error.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/KM_error.h b/src/KM_error.h
index 612a92c..ed171be 100755
--- a/src/KM_error.h
+++ b/src/KM_error.h
@@ -48,7 +48,11 @@ namespace Kumu
Result_t();
public:
- Result_t(long v, const char* l) : value(v), label(l) {}
+ static const Result_t& Find(long);
+
+ Result_t(long v, const char* l);
+ ~Result_t();
+
inline bool operator==(const Result_t& rhs) const { return value == rhs.value; }
inline bool operator!=(const Result_t& rhs) const { return value != rhs.value; }
inline bool Success() { return ( value >= 0 ); }