Commit 0c453667 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

utils: traits: NPString: Constify input parameter

parent da30a9d5
......@@ -273,7 +273,7 @@ struct traits<NPString>
return NPVARIANT_TO_STRING( v );
}
static void from( NPString s, NPVariant& v )
static void from( const NPString s, NPVariant& v )
{
if ( s.UTF8Characters == nullptr )
{
......
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