From 608dfae22e1b5145210314ca6c7268420dd639c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 10 Dec 2016 16:46:55 +0300 Subject: Fix some issues found by automatic checks. --- src/units.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/units.cpp') diff --git a/src/units.cpp b/src/units.cpp index 237b414f0..08f410c9d 100644 --- a/src/units.cpp +++ b/src/units.cpp @@ -284,7 +284,7 @@ std::string Units::formatWeight(const int value) static std::string splitNumber(std::string str, const std::string &separator) { std::string lastPart; - const size_t point = str.find("."); + const size_t point = str.find('.'); if (point != std::string::npos) { lastPart = str.substr(point); -- cgit v1.2.3-60-g2f50