Remove a bunch of compiler warnings

* Remove compile warnings
* Coding style fix
This commit is contained in:
Alexander Bock
2023-05-16 11:59:28 +02:00
committed by GitHub
parent f8d7d5386a
commit bde840ad03
67 changed files with 342 additions and 260 deletions
+1 -1
View File
@@ -348,7 +348,7 @@ void GuiSpaceTimeComponent::render() {
openspace::TimeUnits.end(),
std::string(""),
[](const std::string& a, const openspace::TimeUnit& unit) {
return fmt::format("{}{} / second", a, nameForTimeUnit(unit, true)) + '\0';
return fmt::format("{}{} / second\0", a, nameForTimeUnit(unit, true));
}
);