summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorKshitij Bansal <kshitij@cs.nyu.edu>2014-06-22 18:22:16 -0400
committerKshitij Bansal <kshitij@cs.nyu.edu>2014-06-25 13:42:38 -0400
commitbb9df6c45dbc74b7bed51c2fcfc98294f80bb5c4 (patch)
tree95949af309e6527a9d3ed01bdbddf7b8e6d1020b /src/util
parent2a734a31217cd17bd1d51abb621b0cb409973285 (diff)
make emptyset construction with no arguments private
Diffstat (limited to 'src/util')
-rw-r--r--src/util/emptyset.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/util/emptyset.h b/src/util/emptyset.h
index 2f6c54173..43a868e42 100644
--- a/src/util/emptyset.h
+++ b/src/util/emptyset.h
@@ -35,10 +35,14 @@ class CVC4_PUBLIC EmptySet {
const SetType d_type;
+ EmptySet() { }
public:
- EmptySet() { } /* Null typed */
- EmptySet(SetType t):d_type(t) { }
+ /**
+ * Constructs an emptyset of the specified type. Note that the argument
+ * is the type of the set itself, NOT the type of the elements.
+ */
+ EmptySet(SetType setType):d_type(setType) { }
~EmptySet() throw() {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback