Index: compiled/bindings/generator.cpp |
diff --git a/compiled/bindings/generator.cpp b/compiled/bindings/generator.cpp |
index b6189975617410d9c5e4848e79104cb755aa2c7e..b7a278035d637684deecf4220b38ea519f04616a 100644 |
--- a/compiled/bindings/generator.cpp |
+++ b/compiled/bindings/generator.cpp |
@@ -115,7 +115,7 @@ namespace bindings_internal |
int nameLength = GetFunctionName(nullptr, function, signature.c_str()); |
name.resize(nameLength); |
- GetFunctionName(name.data(), function, signature.c_str()); |
+ GetFunctionName(&name[0], function, signature.c_str()); |
} |
bool FunctionInfo::empty() const |
@@ -491,4 +491,4 @@ void printBindings() |
bindings_internal::printClassMapping(cls); |
} |
-ABP_NS_END |
+ABP_NS_END |