add inline to fix linker errors

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@727 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2006-10-16 11:16:59 +00:00
parent 41a3ecb8b8
commit b91c17f0a5

View file

@ -31,17 +31,17 @@ namespace Loki
class EmptyType {}; class EmptyType {};
bool operator==(const EmptyType&, const EmptyType&) inline bool operator==(const EmptyType&, const EmptyType&)
{ {
return true; return true;
} }
bool operator<(const EmptyType&, const EmptyType&) inline bool operator<(const EmptyType&, const EmptyType&)
{ {
return false; return false;
} }
bool operator>(const EmptyType&, const EmptyType&) inline bool operator>(const EmptyType&, const EmptyType&)
{ {
return false; return false;
} }
@ -55,6 +55,9 @@ namespace Loki
#endif // EMPTYTYPE_INC_ #endif // EMPTYTYPE_INC_
// $Log$ // $Log$
// Revision 1.5 2006/10/16 11:16:59 syntheticpp
// add inline to fix linker errors
//
// Revision 1.4 2006/10/16 10:38:02 syntheticpp // Revision 1.4 2006/10/16 10:38:02 syntheticpp
// add operator > < == to EmptyType // add operator > < == to EmptyType
// //