From 942380eae1ae589f65c9a796368d84a2d30827fa Mon Sep 17 00:00:00 2001
From: Sam Yates <halfflat@gmail.com>
Date: Mon, 8 Aug 2016 14:17:48 +0200
Subject: [PATCH] Bugfix: incorrect specialization
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Some compilers are more liberal than others…
---
 miniapp/io.cpp | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/miniapp/io.cpp b/miniapp/io.cpp
index ac7573cc..46498fd2 100644
--- a/miniapp/io.cpp
+++ b/miniapp/io.cpp
@@ -11,10 +11,12 @@
 
 // Let TCLAP understand value arguments that are of an optional type.
 
-template <typename V>
-struct TCLAP::ArgTraits<nest::mc::util::optional<V>> {
-    using ValueCategory = ValueLike;
-};
+namespace TCLAP {
+    template <typename V>
+    struct ArgTraits<nest::mc::util::optional<V>> {
+        using ValueCategory = ValueLike;
+    };
+}
 
 namespace nest {
 namespace mc {
-- 
GitLab