From 96cc44e52147c31f0a4725b67a9adf43e02f959b Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 24 Sep 2013 10:33:29 +0200 Subject: [PATCH] Compile fixes on RHEL5/Fedora, see #541 --- DataStructures/HashTable.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/DataStructures/HashTable.h b/DataStructures/HashTable.h index 465caca0e..f6bd786cb 100644 --- a/DataStructures/HashTable.h +++ b/DataStructures/HashTable.h @@ -36,6 +36,11 @@ public: HashTable(const unsigned size) : super(size) { } + HashTable &operator=(const HashTable &other) { + super::operator = (other); + return *this; + } + inline void Add(const keyT& key, const valueT& value){ super::insert(std::make_pair(key, value)); }