[Rprotobuf-commits] r664 - pkg/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Dec 31 05:05:45 CET 2013
Author: edd
Date: 2013-12-31 05:05:37 +0100 (Tue, 31 Dec 2013)
New Revision: 664
Modified:
pkg/src/DescriptorPoolLookup.cpp
Log:
use explicit std::string not just string
Modified: pkg/src/DescriptorPoolLookup.cpp
===================================================================
--- pkg/src/DescriptorPoolLookup.cpp 2013-12-31 03:45:14 UTC (rev 663)
+++ pkg/src/DescriptorPoolLookup.cpp 2013-12-31 04:05:37 UTC (rev 664)
@@ -49,7 +49,7 @@
for (int j = 0; j < n; j++) {
const GPB::FileDescriptor* file_desc = importer.Import(CHAR(STRING_ELT(files, j)));
if (!file_desc) {
- string message = string("Could not load proto file '") + CHAR(STRING_ELT(files, j)) +
+ std::string message = std::string("Could not load proto file '") + CHAR(STRING_ELT(files, j)) +
"'\n";
Rcpp_error(message.c_str());
continue;
More information about the Rprotobuf-commits
mailing list