[Phylobase-commits] r782 - pkg/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Apr 4 19:10:55 CEST 2010
Author: edd
Date: 2010-04-04 19:10:55 +0200 (Sun, 04 Apr 2010)
New Revision: 782
Modified:
pkg/src/NCLInterface.cpp
Log:
suppress warning 'NCLInterface.cpp:347: warning: comparison with string literal results in unspecified behaviour'
by using a std::string("Continuous") in the comparison instead of the literal string
Modified: pkg/src/NCLInterface.cpp
===================================================================
--- pkg/src/NCLInterface.cpp 2010-04-02 01:31:42 UTC (rev 781)
+++ pkg/src/NCLInterface.cpp 2010-04-04 17:10:55 UTC (rev 782)
@@ -344,7 +344,7 @@
}
nexuscharacters+="), stringsAsFactors=FALSE)";
}
- else if ("Continuous"==characters.GetNameOfDatatype(characters.GetDataType())) { //(6==characters.GetDataType()) { //continuousnexuscharacters+="data.frame(";
+ else if (std::string("Continuous")==characters.GetNameOfDatatype(characters.GetDataType())) { //(6==characters.GetDataType()) { //continuousnexuscharacters+="data.frame(";
nexuscharacters+="data.frame(";
if (allchar) {
More information about the Phylobase-commits
mailing list