summaryrefslogtreecommitdiff
path: root/src/flags.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/flags.h')
-rw-r--r--src/flags.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/flags.h b/src/flags.h
index b75fdc21..3e94ab31 100644
--- a/src/flags.h
+++ b/src/flags.h
@@ -45,9 +45,12 @@ public:
supports_flags() : flags_(0) {
TRACE_CTOR(supports_flags, "");
}
- supports_flags(const flags_t& arg) : flags_(arg) {
+ supports_flags(const supports_flags& arg) : flags_(arg.flags_) {
TRACE_CTOR(supports_flags, "copy");
}
+ supports_flags(const flags_t& arg) : flags_(arg) {
+ TRACE_CTOR(supports_flags, "const flags_t&");
+ }
~supports_flags() throw() {
TRACE_DTOR(supports_flags);
}