Skip to content

Commit

Permalink
[core] Correctly initialize config when not provided in Initialize. (
Browse files Browse the repository at this point in the history
  • Loading branch information
Peguen authored Jan 9, 2025
1 parent b3023ae commit 7a18429
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ecal/core/src/ecal.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ========================= eCAL LICENSE =================================
*
* Copyright (C) 2016 - 2024 Continental Corporation
* Copyright (C) 2016 - 2025 Continental Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -90,6 +90,7 @@ namespace eCAL
bool Initialize(const std::string& unit_name_ /*= ""*/, unsigned int components_ /*= Init::Default*/)
{
eCAL::Configuration config;
config.InitFromConfig();

return Initialize(config, unit_name_, components_);
}
Expand Down

0 comments on commit 7a18429

Please sign in to comment.