diff options
Diffstat (limited to 'src/context/cdhashset.h')
-rw-r--r-- | src/context/cdhashset.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/context/cdhashset.h b/src/context/cdhashset.h index 881c3f629..548aa95d1 100644 --- a/src/context/cdhashset.h +++ b/src/context/cdhashset.h @@ -3,9 +3,9 @@ ** \verbatim ** Original author: Dejan Jovanovic ** Major contributors: Tim King, Morgan Deters - ** Minor contributors (to current version): Francois Bobot + ** Minor contributors (to current version): Francois Bobot, Kshitij Bansal ** This file is part of the CVC4 project. - ** Copyright (c) 2009-2013 New York University and The University of Iowa + ** Copyright (c) 2009-2014 New York University and The University of Iowa ** See the file COPYING in the top-level source directory for licensing ** information.\endverbatim ** @@ -30,6 +30,10 @@ template <class V, class HashFcn> class CDHashSet : protected CDInsertHashMap<V, bool, HashFcn> { typedef CDInsertHashMap<V, bool, HashFcn> super; + // no copy or assignment + CDHashSet(const CDHashSet&) CVC4_UNDEFINED; + CDHashSet& operator=(const CDHashSet&) CVC4_UNDEFINED; + public: // ensure these are publicly accessible @@ -148,7 +152,7 @@ public: return super::insertAtContextLevelZero(v, true); } -};/* class CDSet */ +};/* class CDHashSet */ }/* CVC4::context namespace */ }/* CVC4 namespace */ |