Skip to content

Commit 31e7555

Browse files
committed
Fix ambiguous initializer
1 parent 51cbbaf commit 31e7555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xml2_init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ extern "C" {
6060

6161
[[cpp11::register]]
6262
cpp11::strings libxml2_version_(){
63-
return cpp11::strings({LIBXML_DOTTED_VERSION});
63+
return cpp11::writable::strings(cpp11::r_string(LIBXML_DOTTED_VERSION));
6464
}

0 commit comments

Comments
 (0)