mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-23 22:22:05 +08:00
astyle
This commit is contained in:
parent
58308df33c
commit
d163b8c45a
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
find . -name "*\.h" -o -name "*\.cpp"|xargs dos2unix
|
find . -name "*\.h" -o -name "*\.cpp"|xargs dos2unix
|
||||||
find . -name "*\.h" -o -name "*\.cpp"|xargs astyle -n -A1
|
find . -name "*\.h" -o -name "*\.cpp"|xargs astyle -n -c -t4 -A1
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,7 +39,8 @@ namespace spdlog
|
|||||||
|
|
||||||
class formatter;
|
class formatter;
|
||||||
|
|
||||||
namespace sinks {
|
namespace sinks
|
||||||
|
{
|
||||||
class sink;
|
class sink;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,7 +51,6 @@ struct log_msg
|
|||||||
raw << fmt::BasicStringRef<char>(other.raw.data(), other.raw.size());
|
raw << fmt::BasicStringRef<char>(other.raw.data(), other.raw.size());
|
||||||
if (other.formatted.size())
|
if (other.formatted.size())
|
||||||
formatted << fmt::BasicStringRef<char>(other.formatted.data(), other.formatted.size());
|
formatted << fmt::BasicStringRef<char>(other.formatted.data(), other.formatted.size());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
log_msg(log_msg&& other) :
|
log_msg(log_msg&& other) :
|
||||||
|
Loading…
Reference in New Issue
Block a user