Mercurial > minori
changeset 121:a66c47c1ba3c
ini: remove unused ini.cc file
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 08 Nov 2023 18:13:56 -0500 |
parents | 275da698697d |
children | bc218c9d2ea6 |
files | src/core/ini.cc |
diffstat | 1 files changed, 0 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/ini.cc Wed Nov 08 18:13:37 2023 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ -#include "core/ini.h" - -namespace INI { - -/* this should be in some ini.cc or whatever */ -std::string GetIniString(const mINI::INIStructure& ini, const std::string& section, - const std::string& value, const std::string& def) { - if (!ini.has(section) || !ini.get(section).has(value)) - return def; - return ini.get(section).get(value); // ack -} - -} \ No newline at end of file