mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-30 07:12:17 +00:00
Style + compile option for rvalue-move
This commit is contained in:
1 parent
f8bae86082
commit
23dbd00d40
15 files changed
+22
-15
No files matched your search
@@ -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_;
|
||||
|
||||
Reference in new issue
Block a user