[Rprotobuf-commits] r663 - pkg/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Dec 31 04:45:15 CET 2013
Author: murray
Date: 2013-12-31 04:45:14 +0100 (Tue, 31 Dec 2013)
New Revision: 663
Modified:
pkg/src/DescriptorPoolLookup.cpp
Log:
Compile fix string/char * issue.
Modified: pkg/src/DescriptorPoolLookup.cpp
===================================================================
--- pkg/src/DescriptorPoolLookup.cpp 2013-12-31 03:05:26 UTC (rev 662)
+++ pkg/src/DescriptorPoolLookup.cpp 2013-12-31 03:45:14 UTC (rev 663)
@@ -49,7 +49,8 @@
for (int j = 0; j < n; j++) {
const GPB::FileDescriptor* file_desc = importer.Import(CHAR(STRING_ELT(files, j)));
if (!file_desc) {
- string message = "Could not load proto file '" + CHAR(STRING_ELT(files, j)) + "'\n";
+ string message = 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