Update example.cpp

This commit is contained in:
Gabi Melman 2021-12-11 17:12:15 +02:00 committed by GitHub
parent 4fefd51e08
commit c211288576
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -272,7 +272,7 @@ struct fmt_lib::formatter<my_type> : fmt_lib::formatter<std::string>
void user_defined_example()
{
spdlog::info("user defined type: {}", my_type{14});
spdlog::info("user defined type: {}", my_type(14));
}
// Custom error handler. Will be triggered on log failure.