From aa39430e2c4ff506aaf83e07ec2fcd14fd873527 Mon Sep 17 00:00:00 2001 From: ameerj <52414509+ameerj@users.noreply.github.com> Date: Sat, 24 Jun 2023 10:08:18 +0300 Subject: [PATCH] common/logging: Reduce scope of fmt include --- src/common/logging/formatter.h | 2 +- src/common/param_package.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/logging/formatter.h b/src/common/logging/formatter.h index ad6adb143..e27850db1 100644 --- a/src/common/logging/formatter.h +++ b/src/common/logging/formatter.h @@ -5,7 +5,7 @@ #pragma once #include -#include +#include // adapted from https://github.com/fmtlib/fmt/issues/2704 // a generic formatter for enum classes diff --git a/src/common/param_package.cpp b/src/common/param_package.cpp index bbdde251f..188f45aa6 100644 --- a/src/common/param_package.cpp +++ b/src/common/param_package.cpp @@ -3,6 +3,7 @@ // Refer to the license.txt file included. #include +#include #include #include #include "common/logging/log.h"