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

summaryrefslogtreecommitdiff
path: root/source/json_tool
diff options
context:
space:
mode:
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