Skip to content
Snippets Groups Projects
Commit 942380ea authored by Sam Yates's avatar Sam Yates
Browse files

Bugfix: incorrect specialization

Some compilers are more liberal than others…
parent 21f1e235
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment