Skip to content

Commit

Permalink
rev 15
Browse files Browse the repository at this point in the history
  • Loading branch information
dr3mro committed Dec 27, 2024
1 parent bab288b commit 65aa2b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/store/store.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#include "store.hpp"

#include <memory>
#include <mutex>
#include <typeindex>
#include <unordered_map>

// Static member definitions
std::unordered_map<std::type_index, std::shared_ptr<void>> Store::inventory;
std::mutex Store::inventoryMutex;
5 changes: 5 additions & 0 deletions src/utils/message/message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

#include <drogon/drogon.h>
#include <fmt/color.h>
#include <fmt/core.h>
#include <fmt/format.h>
#include <trantor/utils/Logger.h>

#include <string>
#include <unordered_map>

void Message::DebugMessage(const std::string& status_message) { MessageImpl(status_message, trantor::Logger::LogLevel::kDebug); }
void Message::InfoMessage(const std::string& status_message) { MessageImpl(status_message, trantor::Logger::LogLevel::kInfo); }
Expand Down

0 comments on commit 65aa2b7

Please sign in to comment.