Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: compiled/bindings/generator.cpp

Issue 29690843: Issue 6359 - use C++14 instead of C++1z (Closed) Base URL: github.com:adblockplus/adblockpluscore
Patch Set: support more compilers Created Feb. 6, 2018, 10:32 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « compiled/Map.h ('k') | meson.build » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « compiled/Map.h ('k') | meson.build » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld