From f76d52499914e64306a5b1a6ff83667aaf5daa9f Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Mon, 23 Oct 2023 21:51:43 -0700 Subject: [PATCH] SimpleConfig: Add missing definition. --- CMakeLists.txt | 2 +- src/sl/SimpleConfig.cc | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index be73eaa..7bd31fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.22) project(scsl LANGUAGES CXX - VERSION 1.1.0 + VERSION 1.1.1 DESCRIPTION "Shimmering Clarity Standard Library") set(CMAKE_CXX_STANDARD 14) diff --git a/src/sl/SimpleConfig.cc b/src/sl/SimpleConfig.cc index ea0bb92..e6da017 100644 --- a/src/sl/SimpleConfig.cc +++ b/src/sl/SimpleConfig.cc @@ -111,6 +111,13 @@ SimpleConfig::PutGlobal(std::string &key, const std::string &value) } +void +SimpleConfig::PutGlobal(const char *key, const std::string &value) +{ + return globalConfig.Put(key, value); +} + + SimpleConfig::SimpleConfig() { }