diff --git a/.clang-tidy-ignore b/.clang-tidy-ignore index c40b3b65..9c845641 100644 --- a/.clang-tidy-ignore +++ b/.clang-tidy-ignore @@ -1,6 +1,6 @@ **/json.hpp # Ignore all protobuf/gRPC generated source files -**/*.pb.cc +**/generated -*/_deps/* \ No newline at end of file +*/_deps/* diff --git a/src/api/common/src/fiatconverter.cpp b/src/api/common/src/fiatconverter.cpp index 75f4e29e..05608c30 100644 --- a/src/api/common/src/fiatconverter.cpp +++ b/src/api/common/src/fiatconverter.cpp @@ -7,6 +7,7 @@ #include #include "cct_json.hpp" +#include "cct_log.hpp" #include "cct_string.hpp" #include "coincenterinfo.hpp" #include "curloptions.hpp" diff --git a/src/objects/src/monetaryamount.cpp b/src/objects/src/monetaryamount.cpp index 03bc951c..4c6dca7f 100644 --- a/src/objects/src/monetaryamount.cpp +++ b/src/objects/src/monetaryamount.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include @@ -15,13 +14,13 @@ #include #include #include -#include #include #include #include "cct_config.hpp" #include "cct_exception.hpp" #include "cct_invalid_argument_exception.hpp" +#include "cct_log.hpp" #include "currencycode.hpp" #include "ipow.hpp" #include "ndigits.hpp" diff --git a/src/tech/include/cct_log.hpp b/src/tech/include/cct_log.hpp index 3db17dc6..5a882194 100644 --- a/src/tech/include/cct_log.hpp +++ b/src/tech/include/cct_log.hpp @@ -5,7 +5,7 @@ #ifdef CCT_DISABLE_SPDLOG #include #else -#include +#include // IWYU pragma: export #endif namespace cct {