summaryrefslogtreecommitdiff
path: root/zen/format_unit.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2016-03-16 21:32:07 +0100
committerDaniel Wilhelm <daniel@wili.li>2016-03-16 21:32:07 +0100
commitce3574cf7ff2ee68608b4d001f5a6dd1e36b2252 (patch)
tree576b1741351e1cd34f0fcce49f98df9c17e10912 /zen/format_unit.cpp
parent7.6 (diff)
downloadFreeFileSync-ce3574cf7ff2ee68608b4d001f5a6dd1e36b2252.tar.gz
FreeFileSync-ce3574cf7ff2ee68608b4d001f5a6dd1e36b2252.tar.bz2
FreeFileSync-ce3574cf7ff2ee68608b4d001f5a6dd1e36b2252.zip
7.7
Diffstat (limited to 'zen/format_unit.cpp')
-rw-r--r--zen/format_unit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/zen/format_unit.cpp b/zen/format_unit.cpp
index e9c686aa..cfaaa329 100644
--- a/zen/format_unit.cpp
+++ b/zen/format_unit.cpp
@@ -194,7 +194,7 @@ class IntegerFormat
{
public:
static const NUMBERFMT& get() { return getInst().fmt; }
- static bool isValid() { return getInst().valid_; }
+ static bool isValid() { return getInst().valid; }
private:
static const IntegerFormat& getInst()
@@ -202,7 +202,7 @@ private:
#if defined _MSC_VER && _MSC_VER < 1900
#error function scope static initialization is not yet thread-safe!
#endif
- static IntegerFormat inst;
+ static const IntegerFormat inst;
return inst;
}
@@ -229,14 +229,14 @@ private:
else
grouping += L'0';
fmt.Grouping = stringTo<UINT>(grouping);
- valid_ = true;
+ valid = true;
}
}
NUMBERFMT fmt = {};
std::wstring thousandSep;
std::wstring decimalSep;
- bool valid_ = false;
+ bool valid = false;
};
}
#endif
bgstack15