mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Style + compile option for rvalue-move
This commit is contained in:
@@ -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