Skip to content

Commit a564335

Browse files
committed
mCondition_ -> mCondition
1 parent 078503b commit a564335

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/importproject.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ namespace {
532532
explicit ConditionalGroup(const tinyxml2::XMLElement *idg){
533533
const char *condAttr = idg->Attribute("Condition");
534534
if (condAttr)
535-
mCondition_ = condAttr;
535+
mCondition = condAttr;
536536
}
537537

538538
static void replaceAll(std::string &c, const std::string &from, const std::string &to) {
@@ -546,9 +546,9 @@ namespace {
546546
// see https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-conditions
547547
// properties are .NET String objects and you can call any of its members on them
548548
bool conditionIsTrue(const ProjectConfiguration &p) const {
549-
if (mCondition_.empty())
549+
if (mCondition.empty())
550550
return true;
551-
std::string c = '(' + mCondition_ + ");";
551+
std::string c = '(' + mCondition + ");";
552552
replaceAll(c, "$(Configuration)", p.configuration);
553553
replaceAll(c, "$(Platform)", p.platformStr);
554554

@@ -585,7 +585,7 @@ namespace {
585585
return false;
586586
}
587587
private:
588-
std::string mCondition_;
588+
std::string mCondition;
589589
};
590590

591591
struct ItemDefinitionGroup : ConditionalGroup {

0 commit comments

Comments
 (0)