summaryrefslogtreecommitdiff
path: root/src/flags.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-10-07 01:51:38 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-10-07 01:51:38 -0400
commit5fd91d26ceeae3fa944410c00708ad8ec33a8381 (patch)
tree46cf7b23ea4abfe60164b32644c3fdc2fefe9a1c /src/flags.h
parente2c31a6bc25e6a0c4f657f3c9cc18450f3e620ae (diff)
downloadfork-ledger-5fd91d26ceeae3fa944410c00708ad8ec33a8381.tar.gz
fork-ledger-5fd91d26ceeae3fa944410c00708ad8ec33a8381.tar.bz2
fork-ledger-5fd91d26ceeae3fa944410c00708ad8ec33a8381.zip
Corrected syntax errors found by Clang
Diffstat (limited to 'src/flags.h')
-rw-r--r--src/flags.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flags.h b/src/flags.h
index 03f47ff9..09b7eec4 100644
--- a/src/flags.h
+++ b/src/flags.h
@@ -112,11 +112,11 @@ public:
}
basic_flags_t(const T& bits) {
TRACE_CTOR(basic_flags_t, "const T&");
- set_flags(bits);
+ supports_flags<T, U>::set_flags(bits);
}
basic_flags_t(const U& bits) {
TRACE_CTOR(basic_flags_t, "const U&");
- set_flags(static_cast<T>(bits));
+ supports_flags<T, U>::set_flags(static_cast<T>(bits));
}
~basic_flags_t() throw() {
TRACE_DTOR(basic_flags_t);