Commit 2e9752cc authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

sqlite: Traits: C-style cast -> reinterpret_cast

parent 17eea10e
......@@ -81,7 +81,7 @@ struct Traits<T, typename std::enable_if<IsSameDecay<T, std::string>::value ||
static std::string Load( sqlite3_stmt* stmt, int pos )
{
auto tmp = (const char*)sqlite3_column_text( stmt, pos );
auto tmp = reinterpret_cast<const char*>( sqlite3_column_text( stmt, pos ) );
if ( tmp != nullptr )
return std::string( tmp );
return std::string();
......
Markdown is supported
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