From ce8cf1e152b3b51f4121f6b58ddcf3797090a1f4 Mon Sep 17 00:00:00 2001 From: Jerome Meyer Date: Thu, 6 Dec 2018 16:06:01 -0500 Subject: [PATCH] Fix typos --- include/spdlog/details/pattern_formatter.h | 5 ++--- include/spdlog/logger.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/spdlog/details/pattern_formatter.h b/include/spdlog/details/pattern_formatter.h index 429a6c3c..9bc34a55 100644 --- a/include/spdlog/details/pattern_formatter.h +++ b/include/spdlog/details/pattern_formatter.h @@ -760,7 +760,6 @@ public: class ch_formatter final : public flag_formatter { -public: public: explicit ch_formatter(char ch) : ch_(ch) @@ -825,7 +824,7 @@ public: } }; -// print soruce location +// print source location class source_location_formatter final : public flag_formatter { public: @@ -854,7 +853,7 @@ public: } } }; -// print soruce filename +// print source filename class source_filename_formatter final : public flag_formatter { public: diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index c7c2966f..3dbaaa64 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -78,7 +78,7 @@ public: void log(level::level_enum lvl, const wchar_t *fmt, const Args &... args); template - void log(source_loc soruce, level::level_enum lvl, const wchar_t *fmt, const Args &... args); + void log(source_loc source, level::level_enum lvl, const wchar_t *fmt, const Args &... args); template void trace(const wchar_t *fmt, const Args &... args);