Minor changes to follow C++ Format's coding conventions

This commit is contained in:
Victor Zverovich
2015-02-11 14:16:22 -08:00
parent 33f85efb55
commit 8bd1953094
3 changed files with 6 additions and 7 deletions

View File

@@ -11,8 +11,7 @@ class Date {
};
int main(int argc, char *argv[]){
std::string s = fmt::format("The date is {}", Date(2012, 12, 9));
fmt::print("Hello, {}!", "world"); // uses Python-like format string syntax
fmt::printf("\n%s", s); // uses printf format string syntax
return 0;
std::string s = fmt::format("The date is {}", Date(2012, 12, 9));
fmt::print("Hello, {}!", "world"); // uses Python-like format string syntax
fmt::printf("\n%s", s); // uses printf format string syntax
}