Skip to content

Commit f1f9226

Browse files
authored
SILKIT-1740 Update third parties to latest stable releases (#198)
Update third parties and fix build issues: - asio 1.30.2 - fmt 11.1.4 - spdlog 1.15.2
1 parent eeef1af commit f1f9226

7 files changed

Lines changed: 8 additions & 5 deletions

File tree

SilKit/source/dashboard/Service/SilKitEventHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ uint64_t SilKitEventHandler::OnSimulationStart(const std::string& connectUri, ui
4747
_silKitToOatppMapper->CreateSimulationCreationRequestDto(connectUri, time));
4848
if (simulation)
4949
{
50-
Services::Logging::Info(_logger, "Dashboard: created simulation with id {}", simulation->id);
50+
Services::Logging::Info(_logger, "Dashboard: created simulation with id {}", *simulation->id.get());
5151
return simulation->id;
5252
}
5353
_logger->Warn("Dashboard: creating simulation failed");

SilKit/source/services/logging/Logger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ void Logger::Log(Level level, const std::string& msg)
430430
if (nullptr != _loggerJson)
431431
{
432432
JsonString jsonString{msg};
433-
_loggerJson->log(now, spdlog::source_loc{}, to_spdlog(level), fmt::format("{}",jsonString.m));
433+
_loggerJson->log(now, spdlog::source_loc{}, to_spdlog(level), fmt::format("{}", jsonString.m));
434434
}
435435
if (nullptr != _loggerSimple)
436436
{

SilKit/source/util/StringHelpers.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
#include <chrono>
2525
#include <sstream>
26+
#include <cctype>
2627

2728
#include "fmt/chrono.h"
2829

SilKit/source/util/Uri.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
2121

2222
#include "Uri.hpp"
2323

24+
#include <cctype>
25+
2426
#include "silkit/participant/exception.hpp"
2527

2628
#include "fmt/format.h"

ThirdParty/asio

Submodule asio updated 1579 files

ThirdParty/fmt

Submodule fmt updated 204 files

ThirdParty/spdlog

Submodule spdlog updated 165 files

0 commit comments

Comments
 (0)