From 8cb809231051ffc832871ef803a554a107370f52 Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Mon, 29 Dec 2014 10:55:47 -0800 Subject: [PATCH] remove unused code I forget what I was using UUIDHashKey for --- libraries/physics/src/UUIDHashKey.h | 31 ----------------------------- 1 file changed, 31 deletions(-) delete mode 100644 libraries/physics/src/UUIDHashKey.h diff --git a/libraries/physics/src/UUIDHashKey.h b/libraries/physics/src/UUIDHashKey.h deleted file mode 100644 index fcc6209d5a..0000000000 --- a/libraries/physics/src/UUIDHashKey.h +++ /dev/null @@ -1,31 +0,0 @@ -// -// UUIDHashKey.h -// libraries/physcis/src -// -// Created by Andrew Meadows 2014.11.05 -// Copyright 2014 High Fidelity, Inc. -// -// Distributed under the Apache License, Version 2.0. -// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html -// - -#ifndef hifi_UUIDHashKey_h -#define hifi_UUIDHashKey_h - -#include - -class UUIDHashKey { -public: - UUIDHashKey(const QUuid& id) : _hash(0), _id(id) { _hash = (int)(qHash(id)); } - - bool equals(const UUIDHashKey& other) const { - return _hash == other._hash && _id == other._id; - } - - unsigned int getHash() const { return (unsigned int)_hash; } -protected: - int _hash; - QUuid _id; -}; - -#endif // hifi_UUIDHashKey_h