mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-29 18:27:40 +02:00
Improve coding style consistency
This commit is contained in:
@ -4,10 +4,10 @@ project(cppformat-test)
|
||||
|
||||
add_subdirectory(../.. cppformat)
|
||||
|
||||
add_executable(library-test "main.cpp")
|
||||
add_executable(library-test "main.cc")
|
||||
target_link_libraries(library-test cppformat)
|
||||
|
||||
if (TARGET cppformat-header-only)
|
||||
add_executable(header-only-test "main.cpp")
|
||||
add_executable(header-only-test "main.cc")
|
||||
target_link_libraries(header-only-test cppformat-header-only)
|
||||
endif ()
|
||||
endif ()
|
||||
|
@ -1,8 +1,6 @@
|
||||
#include "cppformat/format.h"
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
int main(int argc, char** argv) {
|
||||
for(int i = 0; i < argc; ++i)
|
||||
fmt::print("{}: {}\n", i, argv[i]);
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user