diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-07-15 13:31:55 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-07-15 13:31:55 -0700 |
commit | 5459d80d4723cfed3da8a2088bbb45e1ee3a00ce (patch) | |
tree | 8813893436f86ef27c2f8344221cab1c3b4269e7 /test | |
parent | cdda9f12b51ca9b2b22bc9f11514c5486a803544 (diff) | |
download | qtlocation-mapboxgl-5459d80d4723cfed3da8a2088bbb45e1ee3a00ce.tar.gz |
disallow copying to avoid accidental unchecked message output
Diffstat (limited to 'test')
-rw-r--r-- | test/fixtures/fixture_log.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/fixtures/fixture_log.hpp b/test/fixtures/fixture_log.hpp index 8a41241858..c41d74ab9c 100644 --- a/test/fixtures/fixture_log.hpp +++ b/test/fixtures/fixture_log.hpp @@ -2,6 +2,7 @@ #define LLMR_TEST_FIXTURE_LOG #include <llmr/platform/log.hpp> +#include <llmr/util/noncopyable.hpp> #include <boost/optional.hpp> @@ -10,7 +11,7 @@ namespace llmr { -class FixtureLogBackend : public LogBackend { +class FixtureLogBackend : public LogBackend, private util::noncopyable { public: struct LogMessage { inline LogMessage(EventSeverity severity, Event event, int64_t code, const std::string &msg) |