aboutsummaryrefslogtreecommitdiff
path: root/sensor/include/trygvis/sensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'sensor/include/trygvis/sensor.h')
-rw-r--r--sensor/include/trygvis/sensor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sensor/include/trygvis/sensor.h b/sensor/include/trygvis/sensor.h
index 48fb509..b5199e2 100644
--- a/sensor/include/trygvis/sensor.h
+++ b/sensor/include/trygvis/sensor.h
@@ -82,8 +82,11 @@ public:
~KeyDictionary() {
std::for_each(keys.begin(), keys.end(), std::default_delete<SampleKey>());
}
+
KeyDictionary(KeyDictionary& that) = delete;
+ KeyDictionary& operator=(const KeyDictionary&) = delete;
+
SampleKey *indexOf(const string &key) {
SampleKeyIndex i = 0;
for (auto ptr = keys.cbegin(); ptr != keys.cend(); ptr++, i++) {