Skip to content

Commit

Permalink
fix: add precompiled macro for header file
Browse files Browse the repository at this point in the history
  • Loading branch information
Serein207 committed Sep 30, 2024
1 parent 092e563 commit c06e749
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Infrastructure/Network/NetworkClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
#include <optional>
#include <spdlog/spdlog.h>
#include <string>
#ifdef EVENTO_API_V1
#include <unordered_map>
#endif

namespace evento {

Expand Down Expand Up @@ -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<std::string, int> departmentIdMap;
#endif
};
Expand Down

0 comments on commit c06e749

Please sign in to comment.