From d2b6b08e67d0db06fcc8c53f75981009b9428d7c Mon Sep 17 00:00:00 2001
From: Stephan Schulz <stephan.schulz-x2q@rub.de>
Date: Fri, 19 Feb 2021 10:05:54 +0100
Subject: [PATCH] remove C++17 nested-namespace-definition

---
 CHANGELOG.rst             | 7 +++++++
 include/ALL_Functions.hpp | 5 +++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index e5a50c8..bb87306 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -2,6 +2,13 @@
 Changelog
 =========
 
+Version 1.0
+-----------
+
+Version 1.0.0
+*************
+- Bug: Nested namespace definitions were present, which are a C++17 feature.
+
 Version 0.9
 -----------
 
diff --git a/include/ALL_Functions.hpp b/include/ALL_Functions.hpp
index e55ee22..b8f9b6b 100644
--- a/include/ALL_Functions.hpp
+++ b/include/ALL_Functions.hpp
@@ -5,7 +5,8 @@
 #include <cmath>
 #include <vector>
 
-namespace ALL::Functions {
+namespace ALL{
+namespace Functions {
 
 /// function to compute the one-dimensional shift of the border between the
 /// local process and the process indicated by neighbor_rank
@@ -65,5 +66,5 @@ T borderShift1d(const int remote_rank, const int local_coord,
   return shift;
 }
 
-}// namespace ALL::Functions
+}}// namespace ALL::Functions
 #endif
-- 
GitLab