summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/flags.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/flags.h b/src/flags.h
index eb42311c..b4c1a37c 100644
--- a/src/flags.h
+++ b/src/flags.h
@@ -95,6 +95,10 @@ public:
TRACE_DTOR(basic_flags_t);
}
+ basic_flags_t(const basic_flags_t& other)
+ : supports_flags<T, U>(other) {
+ TRACE_CTOR(basic_flags_t, "copy");
+ }
basic_flags_t& operator=(const basic_flags_t& other) {
set_flags(other.flags());
return *this;