Compare commits

...

3 Commits

Author SHA1 Message Date
89823e7882 docs(version): version bump v2.2.2 -> v2.2.3
this patch fixes the case issue with CLI11
2026-06-05 09:08:12 +02:00
97a21b1ed3 fix(CLI11): Resolved case issue with CLI11
There was a case issue with the meson build files for CLI11 in libconfig, this has been resolved in this patch
2026-06-05 09:04:22 +02:00
bc6b5886cd style(base): marked default instance as [[maybe_unused]] 2026-04-07 12:28:36 -04:00
4 changed files with 4 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ PROJECT_NAME = libconfig
# could be handy for archiving the generated documentation or if some version # could be handy for archiving the generated documentation or if some version
# control system is used. # control system is used.
PROJECT_NUMBER = v2.2.1 PROJECT_NUMBER = v2.2.2
# Using the PROJECT_BRIEF tag one can provide an optional one line description # Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewers a # for a project that appears at the top of each page and should give viewers a

View File

@@ -1,3 +1,3 @@
cmake = import('cmake') cmake = import('cmake')
subdir('reflect-cpp') subdir('reflect-cpp')
subdir('cli11') subdir('CLI11')

View File

@@ -18,7 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# #
# *********************************************************************** # # *********************************************************************** #
project('libconfig', ['cpp', 'c'], version: 'v2.2.1', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0') project('libconfig', ['cpp', 'c'], version: 'v2.2.3', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
# Add default visibility for all C++ targets # Add default visibility for all C++ targets
add_project_arguments('-fvisibility=default', language: 'cpp') add_project_arguments('-fvisibility=default', language: 'cpp')

View File

@@ -166,7 +166,7 @@ namespace fourdst::config {
* @endcode * @endcode
*/ */
void save(std::string_view path) const { void save(std::string_view path) const {
T default_instance{}; [[maybe_unused]] T default_instance{};
std::unordered_map<std::string, T> wrapper; std::unordered_map<std::string, T> wrapper;
wrapper[m_root_name] = m_content; wrapper[m_root_name] = m_content;
const std::string toml_string = rfl::toml::write(wrapper); const std::string toml_string = rfl::toml::write(wrapper);