From 897546d596d8d7213cff60146123bb8f97d4d1cc Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 24 Sep 2025 21:28:56 +0100 Subject: Create settings structure Holds all the settings and their defaults for use in program_options and tests. Disables missing-field-initializers in tests because its over sensitive to structures with defaults where you only provide some values specifically. --- src/settings.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/settings.hpp (limited to 'src/settings.hpp') diff --git a/src/settings.hpp b/src/settings.hpp new file mode 100644 index 0000000..8ac5c0d --- /dev/null +++ b/src/settings.hpp @@ -0,0 +1,9 @@ +#pragma once + +#include + +namespace WebStat { + struct Settings { + std::string dbType = "postgresql"; + }; +} -- cgit v1.2.3