forked from organicmaps/organicmaps
Review fixes
This commit is contained in:
parent
1355981519
commit
6f34402618
3 changed files with 5 additions and 4 deletions
|
@ -83,11 +83,13 @@ UNIT_TEST(LowerUniChar)
|
|||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
m[uc] = us;
|
||||
++fCount;
|
||||
TEST_EQUAL(type, " F", ());
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
LOG(LINFO, ("Loaded", cCount, "common foldings and", fCount, "full foldings"));
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "base/string_utils.hpp"
|
||||
#include "base/assert.hpp"
|
||||
#include "base/string_utils.hpp"
|
||||
|
||||
#include "std/target_os.hpp"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <cstring>
|
||||
#include <iomanip>
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
||||
namespace generator
|
||||
{
|
||||
KeyValueStorage::KeyValueStorage(std::string const & path, size_t cacheValuesCountLimit,
|
||||
|
@ -113,9 +113,8 @@ std::shared_ptr<JsonValue> KeyValueStorage::Find(uint64_t key) const
|
|||
std::string KeyValueStorage::SerializeDref(uint64_t number)
|
||||
{
|
||||
std::stringstream stream;
|
||||
stream << std::setw(16) << std::setfill('0') << std::hex << number;
|
||||
stream << std::setw(16) << std::setfill('0') << std::hex << std::uppercase << number;
|
||||
std::string result = stream.str();
|
||||
boost::to_upper(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue