From ff753c9da080de46efb3d17f738716815700b4c4 Mon Sep 17 00:00:00 2001 From: Jan Kuhlmann <33833587+M2-TE@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:10:14 +0100 Subject: [PATCH] customizable namespaces --- graphs.hpp | 5 +++++ tables.hpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/graphs.hpp b/graphs.hpp index dc642eb..54f0271 100644 --- a/graphs.hpp +++ b/graphs.hpp @@ -19,8 +19,13 @@ #include #include +#ifdef TGLIB_GRAPHS_NAMESPACE +namespace TGLIB_GRAPHS_NAMESPACE +{ +#else namespace graphs { +#endif using namespace std; enum style_type diff --git a/tables.hpp b/tables.hpp index fb4255d..5f9fe56 100644 --- a/tables.hpp +++ b/tables.hpp @@ -14,8 +14,13 @@ #include #include +#ifdef TGLIB_TABLES_NAMESPACE +namespace TGLIB_TABLES_NAMESPACE +{ +#else namespace tables { +#endif using namespace std; enum style_type