From: Tim King Date: Mon, 5 Feb 2018 20:38:13 +0000 (-0800) Subject: Removing references to __gnu_cxx. (#1541) X-Git-Tag: cvc5-1.0.0~5333 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b458d1768202f7f9e117693b83985794665f73e2;p=cvc5.git Removing references to __gnu_cxx. (#1541) --- diff --git a/src/context/cdhashset_forward.h b/src/context/cdhashset_forward.h index ed665ce1b..426f8917d 100644 --- a/src/context/cdhashset_forward.h +++ b/src/context/cdhashset_forward.h @@ -26,19 +26,13 @@ #ifndef __CVC4__CONTEXT__CDSET_FORWARD_H #define __CVC4__CONTEXT__CDSET_FORWARD_H -/// \cond internals - -namespace __gnu_cxx { - template struct hash; -}/* __gnu_cxx namespace */ +#include namespace CVC4 { - namespace context { - template > - class CDHashSet; - }/* CVC4::context namespace */ -}/* CVC4 namespace */ - -/// \endcond +namespace context { +template > +class CDHashSet; +} // namespace context +} // namespace CVC4 #endif /* __CVC4__CONTEXT__CDSET_FORWARD_H */ diff --git a/src/context/cdinsert_hashmap_forward.h b/src/context/cdinsert_hashmap_forward.h index 05501f1a2..d3f46791a 100644 --- a/src/context/cdinsert_hashmap_forward.h +++ b/src/context/cdinsert_hashmap_forward.h @@ -23,16 +23,16 @@ #include "cvc4_public.h" -#pragma once +#ifndef __CVC4__CONTEXT__CDINSERT_HASHMAP_FORWARD_H +#define __CVC4__CONTEXT__CDINSERT_HASHMAP_FORWARD_H -namespace __gnu_cxx { - template struct hash; -}/* __gnu_cxx namespace */ +#include namespace CVC4 { - namespace context { - template > - class CDInsertHashMap; - }/* CVC4::context namespace */ -}/* CVC4 namespace */ +namespace context { +template > +class CDInsertHashMap; +} // namespace context +} // namespace CVC4 +#endif /* __CVC4__CONTEXT__CDINSERT_HASHMAP_FORWARD_H */ diff --git a/src/context/cdlist_forward.h b/src/context/cdlist_forward.h index 49a077349..e599c037c 100644 --- a/src/context/cdlist_forward.h +++ b/src/context/cdlist_forward.h @@ -36,10 +36,6 @@ /// \cond internals -namespace __gnu_cxx { - template struct hash; -}/* __gnu_cxx namespace */ - namespace CVC4 { namespace context {