From b5d0c69222acc8bf3ca644d19a29134295107b6a Mon Sep 17 00:00:00 2001 From: Metin Cakircali Date: Wed, 6 Mar 2024 17:57:16 +0100 Subject: [PATCH] fix(METK-121): modernize size_t => std::size_t --- src/metkit/mars/MarsParserContext.cc | 2 +- src/metkit/mars/MarsParserContext.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/metkit/mars/MarsParserContext.cc b/src/metkit/mars/MarsParserContext.cc index 14937f86..a33ef347 100644 --- a/src/metkit/mars/MarsParserContext.cc +++ b/src/metkit/mars/MarsParserContext.cc @@ -16,7 +16,7 @@ namespace metkit { namespace mars { //---------------------------------------------------------------------------------------------------------------------- -MarsParserContext::MarsParserContext(size_t line, size_t /* column */): +MarsParserContext::MarsParserContext(std::size_t line, std::size_t /* column */): line_(line) //,column_(column) { diff --git a/src/metkit/mars/MarsParserContext.h b/src/metkit/mars/MarsParserContext.h index 83539af7..b4128784 100644 --- a/src/metkit/mars/MarsParserContext.h +++ b/src/metkit/mars/MarsParserContext.h @@ -19,6 +19,7 @@ #include "metkit/mars/MarsExpandContext.h" +#include namespace metkit { namespace mars { @@ -31,10 +32,10 @@ class MarsParserContext : public MarsExpandContext { public: - MarsParserContext(size_t, size_t); + MarsParserContext(std::size_t, std::size_t); private: - size_t line_; + std::size_t line_; // size_t column_; // unused virtual void info(std::ostream& out) const;