From d3b4cfb41aa4600a9f31f1ba672221330361d6b2 Mon Sep 17 00:00:00 2001 From: "M. Galib Uludag" Date: Sun, 26 Mar 2023 22:29:56 +0200 Subject: [PATCH] Update source_location.h --- include/spdlog/details/source_location.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/spdlog/details/source_location.h b/include/spdlog/details/source_location.h index f373ed3e..dc19083d 100644 --- a/include/spdlog/details/source_location.h +++ b/include/spdlog/details/source_location.h @@ -51,8 +51,9 @@ public: constexpr int column() const noexcept { return columnOffset; } private: - constexpr source_location(const char *fileName, const char *functionName, + constexpr source_location(const char *fileName, const int lineNumber, + const char *functionName, const int columnOffset) noexcept : fileName(fileName), functionName(functionName), lineNumber(lineNumber), columnOffset(columnOffset) {}