mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Further header & precompiled cleanup, fix no-PCH builds.
GUIObjectBase is made a IGUIObject* to avoid including those headers un-necessarily. Subsequent diffs ought to clean up the various of pointers for that with a similar type with reference semantics. Also: - Add standard C and C++ headers (mostly cstring for memcpy, string and vector) where needed. - Swap out some includes for forward declarations - Clean up un-necessary boost includes in precompiled and other headers. - Clean up precompiled headers, including fewer things. - Move ACPI to the windows-specific folder as it's included there only and mostly specific to that platform. Thanks Stan for the testing. Differential Revision: https://code.wildfiregames.com/D3129 This was SVN commit r24352.
This commit is contained in:
@@ -32,14 +32,14 @@
|
||||
|
||||
#include "ps/CLogger.h"
|
||||
|
||||
std::string SerializeRNG(const boost::rand48& rng)
|
||||
std::string SerializeRNG(const boost::random::rand48& rng)
|
||||
{
|
||||
std::stringstream s;
|
||||
s << rng;
|
||||
return s.str();
|
||||
}
|
||||
|
||||
void DeserializeRNG(const std::string& str, boost::rand48& rng)
|
||||
void DeserializeRNG(const std::string& str, boost::random::rand48& rng)
|
||||
{
|
||||
std::stringstream s;
|
||||
s << str;
|
||||
|
||||
Reference in New Issue
Block a user