disallow copying to avoid accidental unchecked message output

This commit is contained in:
Konstantin Käfer
2014-07-15 13:31:55 -07:00
parent cdda9f12b5
commit 5459d80d47

View File

@@ -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)