diff --git a/example/example.cpp b/example/example.cpp index 54212374..ca5356c9 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -272,7 +272,7 @@ struct fmt_lib::formatter : fmt_lib::formatter 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.