Address review comments

* Convert %x to {:x}
* Convert {0:#010x} to {:#010x}
* Remove `? true : false` statement
* Remove `.c_str()` for strings
This commit is contained in:
Daniel Lim Wee Soong 2018-03-24 22:25:50 +08:00
parent 693b190274
commit df816b5eaf
8 changed files with 17 additions and 17 deletions

View file

@ -189,7 +189,7 @@ bool TryParse(const std::string& str, bool* const output) {
}
std::string StringFromBool(bool value) {
return value ? "True" : "False";
return value;
}
bool SplitPath(const std::string& full_path, std::string* _pPath, std::string* _pFilename,