Style + compile option for rvalue-move

This commit is contained in:
KimLS
2013-02-19 23:06:00 -08:00
parent f8bae86082
commit 23dbd00d40
15 changed files with 22 additions and 15 deletions
+3 -1
View File
@@ -35,7 +35,8 @@ namespace EQEmu
name_(e.name_)
{
}
#ifdef EQEMU_RVALUE_MOVE
Exception::Exception(const Exception&& e)
: line_(e.line_),
file_(e.file_),
@@ -43,6 +44,7 @@ namespace EQEmu
name_(e.name_)
{
}
#endif
void Exception::operator=(const Exception& e) {
line_ = e.line_;