Skip to content

Commit

Permalink
Add namespace inside macro
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmoene committed Oct 23, 2016
1 parent 7dbe772 commit 110c6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nonstd/variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ constexpr std::size_t variant_size_v = variant_size<T>::value;
#endif

#if variant_FEATURE_HAVE_VARIANT_SIZE_V_MACRO
# define variant_size_V(T) variant_size<T>::value
# define variant_size_V(T) nonstd::variant_size<T>::value
#endif

// obtain the type of the alternative specified by its index, at compile time:
Expand Down

0 comments on commit 110c6ac

Please sign in to comment.