clang-format

This commit is contained in:
gabime
2018-11-22 18:49:14 +02:00
parent f97cb00737
commit a31719b546
8 changed files with 39 additions and 36 deletions

View File

@@ -185,12 +185,19 @@ using filename_t = std::wstring;
using filename_t = std::string;
#endif
struct source_loc
{
SPDLOG_CONSTEXPR source_loc(): filename(""), line(0) {}
SPDLOG_CONSTEXPR source_loc(const char *filename, int line) : filename(filename), line(line) {}
const char* const filename ;
SPDLOG_CONSTEXPR source_loc()
: filename("")
, line(0)
{
}
SPDLOG_CONSTEXPR source_loc(const char *filename, int line)
: filename(filename)
, line(line)
{
}
const char *const filename;
const uint32_t line;
};