modernize-use-using

This commit is contained in:
Daniel Chabrowski
2018-02-24 22:35:09 +01:00
parent abc0d43995
commit 7f4c1bb77c
12 changed files with 42 additions and 36 deletions

View File

@@ -75,7 +75,7 @@ using log_err_handler = std::function<void(const std::string &err_msg)>;
//Log level enum
namespace level
{
typedef enum
enum level_enum
{
trace = 0,
debug = 1,
@@ -84,7 +84,7 @@ typedef enum
err = 4,
critical = 5,
off = 6
} level_enum;
};
#if !defined(SPDLOG_LEVEL_NAMES)
#define SPDLOG_LEVEL_NAMES { "trace", "debug", "info", "warning", "error", "critical", "off" }