Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/json_tool
diff options
context:
space:
mode:
authorKai Blaschke <kai.blaschke@kb-dev.net>2024-02-25 15:46:47 +0100
committerKai Blaschke <kai.blaschke@kb-dev.net>2024-02-25 15:46:47 +0100
commit3073a88cd16b6e85401363c814e5ac7ae11b9270 (patch)
tree30050be82e0056a2ceaf8233d5e88f2946773a53 /source/json_tool
parentb8da62bf43e42e6fc895664a9faf621cbe0325c8 (diff)
Use "#pragma once" instead of include guards
Diffstat (limited to 'source/json_tool')
-rw-r--r--source/json_tool/editor_gui.hpp5
-rw-r--r--source/json_tool/json_tool.hpp5
2 files changed, 2 insertions, 8 deletions
diff --git a/source/json_tool/editor_gui.hpp b/source/json_tool/editor_gui.hpp
index d24c029..f30bf70 100644
--- a/source/json_tool/editor_gui.hpp
+++ b/source/json_tool/editor_gui.hpp
@@ -1,5 +1,4 @@
-#ifndef EDITOR_GUI_HPP
-#define EDITOR_GUI_HPP
+#pragma once
#include <QErrorMessage>
#include <QLabel>
@@ -52,5 +51,3 @@ private:
int edit(int argc, char* argv[], JsonPath::PathPtr const& path, Options const& options, List<Input> const& inputs);
}
-
-#endif
diff --git a/source/json_tool/json_tool.hpp b/source/json_tool/json_tool.hpp
index 6f4c337..0eaaeba 100644
--- a/source/json_tool/json_tool.hpp
+++ b/source/json_tool/json_tool.hpp
@@ -1,5 +1,4 @@
-#ifndef JSON_TOOL_HPP
-#define JSON_TOOL_HPP
+#pragma once
#include "StarFormattedJson.hpp"
#include "StarJsonPath.hpp"
@@ -146,5 +145,3 @@ String reprWithLineEnding(FormattedJson const& json);
StringList findFiles(FindInput const& findArgs);
}
-
-#endif