diff --git a/include/incredis/int_conv.hpp b/include/incredis/int_conv.hpp index 3d70f8d..57fc3b6 100644 --- a/include/incredis/int_conv.hpp +++ b/include/incredis/int_conv.hpp @@ -20,6 +20,7 @@ #include #include +#include #include "duckhandy/implem/int_conv.hpp" namespace redis { @@ -69,8 +70,8 @@ namespace redis { } }; template - struct IntConv, std::string_view>> { - static T conv (const std::string_view& in) { + struct IntConv, boost::string_view>> { + static T conv (const boost::string_view& in) { return dhandy::ary_to_int(in.data(), in.data() + in.size()); } };