mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 03:09:13 +00:00
Fix it for standards-complient compilers (GCC/Clang).
Unfortunately, this means that all formatters must be declared in the same place now, as they must be declared BEFORE the template which uses them is declared (not just before it was instantiated, which MSVC allows).
This commit is contained in:
@ -144,8 +144,6 @@ public:
|
||||
static const plLocation kInvalidLoc;
|
||||
};
|
||||
|
||||
PL_FORMAT_TYPE(const plLocation &)
|
||||
|
||||
//// plUoid //////////////////////////////////////////////////////////////////
|
||||
|
||||
class plUoid
|
||||
@ -200,6 +198,4 @@ protected:
|
||||
plLoadMask fLoadMask;
|
||||
};
|
||||
|
||||
PL_FORMAT_TYPE(const plUoid &)
|
||||
|
||||
#endif // plUoid_h_inc
|
||||
|
@ -96,6 +96,4 @@ public:
|
||||
static plUUID Generate();
|
||||
};
|
||||
|
||||
PL_FORMAT_TYPE(const plUUID &)
|
||||
|
||||
#endif // pnUUID_h_inc
|
||||
|
Reference in New Issue
Block a user