Cleaning up drivers/Cpp, Cpp/Lifxtest, virtuals, and iotrmi/C++ (revisiting the C...
[iot2.git] / benchmarks / virtuals / LightBulbTest.hpp
index 5b60f41c3526f5edb7acad65c36974562966b9e0..544a9d0725e728696c1b7d726b29a745bc0a7566 100644 (file)
@@ -4,7 +4,6 @@
 #include <sstream>
 #include <vector>
 #include <set>
-#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<std::string> hashVal;
-               return hashVal(ss.str());
-       }
 };
 #endif