Files
TrinityCore/dep/g3dlite/include/G3D/EqualsTrait.h
click 7686d6ee57 Core/Dependency: Upgrade G3d-library to v8.0-release (patched version!)
Note: Due to issues with G3D (normally requiring X11 and the ZIP-library),
the sourcetree version contains a modified version. The applied patch is
commited to the repository for future reference.

--HG--
branch : trunk
2010-08-27 01:52:05 +02:00

27 lines
517 B
C++

/**
@file EqualsTrait.h
@maintainer Morgan McGuire, http://graphics.cs.williams.edu
@created 2008-10-01
@edited 2008-10-01
Copyright 2000-2009, Morgan McGuire.
All rights reserved.
*/
#ifndef G3D_EQUALSTRAIT_H
#define G3D_EQUALSTRAIT_H
#include "G3D/platform.h"
/** Default implementation of EqualsTrait.
@see G3D::Table for specialization requirements.
*/
template<typename Key> struct EqualsTrait {
static bool equals(const Key& a, const Key& b) {
return a == b;
}
};
#endif