Skip to content

Commit

Permalink
Merge pull request #14 from borco/clang-warnings-fix
Browse files Browse the repository at this point in the history
fix clang build warnings
  • Loading branch information
ybainier committed Sep 30, 2015
2 parents 0a650ec + 37dc4a4 commit 2391dd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Hypodermic/BoostUuidHashFunctor.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace std
{

template <>
class hash< boost::uuids::uuid > : public std::unary_function< boost::uuids::uuid, size_t >
struct hash< boost::uuids::uuid > : public std::unary_function< boost::uuids::uuid, size_t >
{ // hash functor
public:
std::size_t operator()(const boost::uuids::uuid& _Keyval) const
Expand Down
2 changes: 1 addition & 1 deletion Hypodermic/ServiceKey.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace std
{

template <>
class hash< Hypodermic::ServiceKey > : public unary_function< Hypodermic::ServiceKey, size_t >
struct hash< Hypodermic::ServiceKey > : public unary_function< Hypodermic::ServiceKey, size_t >
{
public:
size_t operator()(const Hypodermic::ServiceKey& key) const
Expand Down

0 comments on commit 2391dd8

Please sign in to comment.