diff options
Diffstat (limited to 'compat/tr.cpp')
-rw-r--r-- | compat/tr.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/compat/tr.cpp b/compat/tr.cpp new file mode 100644 index 00000000..b3349435 --- /dev/null +++ b/compat/tr.cpp @@ -0,0 +1,17 @@ +#include "tr.hpp" + + +TR::TR() {} + +TR::TR(const TR&) {} + +TR&TR::operator=(const TR& other) +{ + if (this == &other) + return *this; + + TR::~TR(); + return *new (this) TR; +} + +TR::~TR() {} |