From c06e749f8d40afedc1c71fe87c04f8fae0e4e58d Mon Sep 17 00:00:00 2001 From: Serein <2075337935@qq.com> Date: Mon, 30 Sep 2024 11:27:07 +0800 Subject: [PATCH] fix: add precompiled macro for header file --- src/Infrastructure/Network/NetworkClient.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Infrastructure/Network/NetworkClient.h b/src/Infrastructure/Network/NetworkClient.h index d2528e68..e1184ee8 100644 --- a/src/Infrastructure/Network/NetworkClient.h +++ b/src/Infrastructure/Network/NetworkClient.h @@ -20,7 +20,9 @@ #include #include #include +#ifdef EVENTO_API_V1 #include +#endif namespace evento { @@ -218,6 +220,8 @@ class NetworkClient { friend NetworkClient* networkClient(); #ifdef EVENTO_API_V1 + // department name -> department id + // Since v1 api uses department id as identifier. std::unordered_map departmentIdMap; #endif };