mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-14 01:32:07 +08:00
Fixed README.md and example.cpp
This commit is contained in:
parent
9d6dd2a691
commit
db76ab6c9f
@ -323,7 +323,7 @@ public:
|
|||||||
|
|
||||||
std::unique_ptr<custom_flag_formatter> clone() const override
|
std::unique_ptr<custom_flag_formatter> clone() const override
|
||||||
{
|
{
|
||||||
return spdlog::std::make_unique<my_formatter_flag>();
|
return std::make_unique<my_formatter_flag>();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ void replace_default_logger_example();
|
|||||||
|
|
||||||
#include "spdlog/spdlog.h"
|
#include "spdlog/spdlog.h"
|
||||||
#include "spdlog/cfg/env.h" // support for loading levels from the environment variable
|
#include "spdlog/cfg/env.h" // support for loading levels from the environment variable
|
||||||
#include "spdlog/fmt/ostr.h" // support for user defined types
|
|
||||||
|
|
||||||
int main(int, char *[])
|
int main(int, char *[])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user