summaryrefslogtreecommitdiff
path: root/src/util/regexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/regexp.h')
-rw-r--r--src/util/regexp.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/util/regexp.h b/src/util/regexp.h
index 85e827a8d..bcd569df0 100644
--- a/src/util/regexp.h
+++ b/src/util/regexp.h
@@ -219,13 +219,13 @@ public:
namespace strings {
-struct StringHashFunction {
+struct CVC4_PUBLIC StringHashFunction {
size_t operator()(const ::CVC4::String& s) const {
return __gnu_cxx::hash<const char*>()(s.toString().c_str());
}
};/* struct StringHashFunction */
-}
+}/* CVC4::strings namespace */
inline std::ostream& operator <<(std::ostream& os, const String& s) CVC4_PUBLIC;
inline std::ostream& operator <<(std::ostream& os, const String& s) {
@@ -296,7 +296,7 @@ public:
return d_str;
}
-};/* class String */
+};/* class RegExp */
/**
* Hash function for the RegExp constants.
@@ -311,6 +311,7 @@ inline std::ostream& operator <<(std::ostream& os, const RegExp& s) CVC4_PUBLIC;
inline std::ostream& operator <<(std::ostream& os, const RegExp& s) {
return os << s.toString();
}
+
}/* CVC4 namespace */
-#endif /* __CVC4__STRING_H */
+#endif /* __CVC4__REGEXP_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback