1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix uuid/string_generator.hpp

This commit is contained in:
bolero-MURAKAMI 2012-08-10 12:39:03 +09:00
parent e15e8f123e
commit d6a01cd831
10 changed files with 8 additions and 16 deletions

View file

@ -157,7 +157,7 @@ namespace sprout {
public:
template<typename CVRef, typename Tuple>
SPROUT_CONSTEXPR result_type operator()(CVRef& arg, Tuple&) const volatile {
// !!!
// ???
//return arg.get();
return const_cast<typename std::remove_volatile<typename std::remove_reference<CVRef>::type>::type&>(arg).get();
}