Commit 67bc2853 authored by Benoit Rat's avatar Benoit Rat

core: remove code to clean singleton destructor

This code coud not compile with GCC 4.4.7 (CentOS 6)
parent 9572b40d
......@@ -178,22 +178,22 @@ class EWBTrace {
private:
EWBTrace() {}; // Forbidden Constructor
#if __cplusplus <= 199711L
// C++ 11
// =======
// We can use the better technique of deleting the methods
// we don't want.
EWBTrace(EWBTrace const&) = delete;
void operator=(EWBTrace const&) = delete;
#else
// C++ 03
// ========
// Dont forget to declare these two. You want to make sure they
// are unacceptable otherwise you may accidentally get copies of
// your singleton appearing.
EWBTrace(EWBTrace const&); // Don't Implement
void operator=(EWBTrace const&); // Don't implement
#endif
//#if __cplusplus <= 199711L
// // C++ 11
// // =======
// // We can use the better technique of deleting the methods
// // we don't want.
// EWBTrace(EWBTrace const&) = delete;
// void operator=(EWBTrace const&) = delete;
//#else
// // C++ 03
// // ========
// // Dont forget to declare these two. You want to make sure they
// // are unacceptable otherwise you may accidentally get copies of
// // your singleton appearing.
// EWBTrace(EWBTrace const&); // Don't Implement
// void operator=(EWBTrace const&); // Don't implement
//#endif
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment