summaryrefslogtreecommitdiff
path: root/src/commandline.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-11-03 13:35:02 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-11-03 13:35:02 -0500
commit38d2f87b31ba4af8f6ecb73e0432460778e26f82 (patch)
tree4de2421cf431da5b66cc6a0baeaac2bc79ddf165 /src/commandline.h
parenta4747a1ecc9f4fe56700c64933cc3c6cebd04734 (diff)
replaced #pragma once by ifdefs
changed pointer to ref to NexusInterface on_actionChange_Game_triggered() now creates the dialog itself instead of calling test code fixed broken command line options, they'd be reset before they were used removed useless explicit
Diffstat (limited to 'src/commandline.h')
-rw-r--r--src/commandline.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/commandline.h b/src/commandline.h
index 0e300327..72018ba3 100644
--- a/src/commandline.h
+++ b/src/commandline.h
@@ -1,5 +1,5 @@
-#pragma once
-
+#ifndef MODORGANIZER_COMMANDLINE_INCLUDED
+#define MODORGANIZER_COMMANDLINE_INCLUDED
#include "moshortcut.h"
#include <vector>
#include <memory>
@@ -149,3 +149,5 @@ private:
};
} // namespace
+
+#endif // MODORGANIZER_COMMANDLINE_INCLUDED