Skip to content

Commit 6334ea9

Browse files
committed
Value: Add missing 'const' to toUtf16()
1 parent 481be27 commit 6334ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/scratchcpp/value.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class LIBSCRATCHCPP_EXPORT Value
132132
};
133133

134134
/*! Returns the UTF-16 representation of the value. */
135-
std::u16string toUtf16()
135+
std::u16string toUtf16() const
136136
{
137137
std::u16string ret;
138138
value_toUtf16(&m_data, &ret);

0 commit comments

Comments
 (0)