From b458d1768202f7f9e117693b83985794665f73e2 Mon Sep 17 00:00:00 2001 From: Tim King Date: Mon, 5 Feb 2018 12:38:13 -0800 Subject: [PATCH] Removing references to __gnu_cxx. (#1541) --- src/context/cdhashset_forward.h | 18 ++++++------------ src/context/cdinsert_hashmap_forward.h | 18 +++++++++--------- src/context/cdlist_forward.h | 4 ---- 3 files changed, 15 insertions(+), 25 deletions(-) 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 { -- 2.30.2