X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=benchmarks%2Fvirtuals%2FLightBulbTest.hpp;h=544a9d0725e728696c1b7d726b29a745bc0a7566;hb=ffea2cb68e5a2e1bac041fe2279620eba8d227f8;hp=5b60f41c3526f5edb7acad65c36974562966b9e0;hpb=e9a65a3fa878d7451ceb4f5a2cb1bc9ee846e035;p=iot2.git diff --git a/benchmarks/virtuals/LightBulbTest.hpp b/benchmarks/virtuals/LightBulbTest.hpp index 5b60f41..544a9d0 100644 --- a/benchmarks/virtuals/LightBulbTest.hpp +++ b/benchmarks/virtuals/LightBulbTest.hpp @@ -4,7 +4,6 @@ #include #include #include -#include "IoTRMICall.hpp" #include "IoTRMIObject.hpp" using namespace std; @@ -22,15 +21,5 @@ class LightBulbTest virtual void setTemperature(int _temperature) = 0; virtual double getHue() = 0; virtual int getTemperature() = 0; - - // Custom hasher for LightBulbTest iterator - size_t hash(LightBulbTest const& device) const { - - // Use device address for hashing - std::stringstream ss; - ss << &device; - std::hash hashVal; - return hashVal(ss.str()); - } }; #endif