Skip to content

Commit 49bd6fb

Browse files
committed
Remove (name === "std::string")
1 parent 6b731e2 commit 49bd6fb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/embind/embind.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,7 @@ var LibraryEmbind = {
496496
name = readLatin1String(name);
497497
var stdStringIsUTF8
498498
#if EMBIND_STD_STRING_IS_UTF8
499-
//process only std::string bindings with UTF8 support, in contrast to e.g. std::basic_string<unsigned char>
500-
= (name === "std::string");
499+
= true;
501500
#else
502501
= false;
503502
#endif

0 commit comments

Comments
 (0)