clang-tidy: override
[alexxy/gromacs.git] / src / gromacs / utility / loggerbuilder.cpp
index a145bd15bca5463f7cec286ec3c8ee8ef5a53124..5d286a6d9591918457efd40140a5da307c0aa24e 100644 (file)
@@ -55,7 +55,7 @@ class LogTargetCollection : public ILogTarget
             targets_.push_back(target);
         }
 
-        virtual void writeEntry(const LogEntry &entry)
+        void writeEntry(const LogEntry &entry) override
         {
             for (ILogTarget *target : targets_)
             {
@@ -72,7 +72,7 @@ class LogTargetFormatter : public ILogTarget
     public:
         explicit LogTargetFormatter(TextOutputStream *stream) : writer_(stream) {}
 
-        virtual void writeEntry(const LogEntry &entry);
+        void writeEntry(const LogEntry &entry) override;
 
     private:
         TextWriter writer_;