summaryrefslogtreecommitdiff
path: root/include/rtl/string.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/rtl/string.hxx')
-rw-r--r--include/rtl/string.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtl/string.hxx b/include/rtl/string.hxx
index 35716250dfb6..773e54ec119c 100644
--- a/include/rtl/string.hxx
+++ b/include/rtl/string.hxx
@@ -1646,7 +1646,7 @@ This class is not part of public API and is meant to be used only in LibreOffice
struct SAL_WARN_UNUSED OStringLiteral
{
template< int N >
- OStringLiteral( const char (&str)[ N ] ) : size( N - 1 ), data( str ) { assert( strlen( str ) == N - 1 ); }
+ explicit OStringLiteral( const char (&str)[ N ] ) : size( N - 1 ), data( str ) { assert( strlen( str ) == N - 1 ); }
int size;
const char* data;
};