mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-03 18:32:18 +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
@@ -1,5 +1,5 @@
|
||||
/* EQEMu: Everquest Server Emulator
|
||||
Copyright (C) 2001-2006 EQEMu Development Team (http://eqemulator.net)
|
||||
Copyright (C) 2001-2013 EQEMu Development Team (http://eqemulator.net)
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -108,6 +108,7 @@ namespace EQEmu {
|
||||
}
|
||||
|
||||
//! RValue-Move Constructor
|
||||
#ifdef EQEMU_RVALUE_MOVE
|
||||
FixedMemoryHashSet(FixedMemoryHashSet&& other) :
|
||||
data_(other.data_),
|
||||
size_(other.size_),
|
||||
@@ -118,6 +119,7 @@ namespace EQEmu {
|
||||
elements_(other.elements_)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
//! Destructor
|
||||
~FixedMemoryHashSet() {
|
||||
|
||||
Reference in new issue
Block a user