diff --git a/Doxyfile b/Doxyfile index 07dd45f..3eb7709 100644 --- a/Doxyfile +++ b/Doxyfile @@ -48,7 +48,7 @@ PROJECT_NAME = libconfig # could be handy for archiving the generated documentation or if some version # 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 # for a project that appears at the top of each page and should give viewers a diff --git a/meson.build b/meson.build index 4549618..19c02d8 100644 --- a/meson.build +++ b/meson.build @@ -18,7 +18,7 @@ # 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.2', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0') # Add default visibility for all C++ targets add_project_arguments('-fvisibility=default', language: 'cpp') diff --git a/src/config/include/fourdst/config/base.h b/src/config/include/fourdst/config/base.h index 2c911ab..db45942 100644 --- a/src/config/include/fourdst/config/base.h +++ b/src/config/include/fourdst/config/base.h @@ -166,7 +166,7 @@ namespace fourdst::config { * @endcode */ void save(std::string_view path) const { - T default_instance{}; + [[maybe_unused]] T default_instance{}; std::unordered_map wrapper; wrapper[m_root_name] = m_content; const std::string toml_string = rfl::toml::write(wrapper);