mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 17:46:36 +00:00
Style + compile option for rvalue-move
This commit is contained in:
@@ -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