mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Take advantage of some custom formatter shortcuts
This commit is contained in:
@ -83,3 +83,8 @@ plString plUUID::AsString() const
|
||||
ToString(str);
|
||||
return str;
|
||||
}
|
||||
|
||||
PL_FORMAT_IMPL(const plUUID &)
|
||||
{
|
||||
return PL_FORMAT_FORWARD(format, value.AsString());
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#define pnUUID_h_inc
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plString.h"
|
||||
#include "plFormat.h"
|
||||
|
||||
class hsStream;
|
||||
|
||||
@ -96,4 +96,6 @@ public:
|
||||
static plUUID Generate();
|
||||
};
|
||||
|
||||
PL_FORMAT_TYPE(const plUUID &)
|
||||
|
||||
#endif // pnUUID_h_inc
|
||||
|
Reference in New Issue
Block a user