diff --git a/include/Nazara/Network/ENetProtocol.inl b/include/Nazara/Network/ENetProtocol.inl index ec4d50d05..207ad3b2d 100644 --- a/include/Nazara/Network/ENetProtocol.inl +++ b/include/Nazara/Network/ENetProtocol.inl @@ -2,30 +2,29 @@ // This file is part of the "Nazara Engine - Network module" // For conditions of distribution and use, see copyright notice in Export.hpp - namespace Nz { - UInt32 ENetTimeDifference(UInt32 a, UInt32 b) + inline UInt32 ENetTimeDifference(UInt32 a, UInt32 b) { return (ENetTimeLess(a, b)) ? b - a : a - b; } - bool ENetTimeLess(UInt32 a, UInt32 b) + inline bool ENetTimeLess(UInt32 a, UInt32 b) { return (a - b >= ENetTimeOverflow); } - bool ENetTimeLessEqual(UInt32 a, UInt32 b) + inline bool ENetTimeLessEqual(UInt32 a, UInt32 b) { return !ENetTimeGreater(a, b); } - bool ENetTimeGreater(UInt32 a, UInt32 b) + inline bool ENetTimeGreater(UInt32 a, UInt32 b) { return ENetTimeLess(b, a); } - bool ENetTimeGreaterEqual(UInt32 a, UInt32 b) + inline bool ENetTimeGreaterEqual(UInt32 a, UInt32 b) { return !ENetTimeLess(a, b); }