Start using #pragma once

This commit is contained in:
lupoDharkael
2018-01-22 20:08:21 +01:00
parent 8e777f4ac3
commit e1bc6ba9c6
58 changed files with 58 additions and 234 deletions

View File

@@ -15,8 +15,7 @@
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#ifndef COMMANDARGUMENT_H
#define COMMANDARGUMENT_H
#pragma once
#include <QString>
@@ -41,5 +40,3 @@ private:
QString m_description;
};
#endif // COMMANDARGUMENT_H

View File

@@ -15,8 +15,7 @@
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#ifndef COMMANDLINEPARSER_H
#define COMMANDLINEPARSER_H
#pragma once
#include "src/cli/commandargument.h"
#include "src/cli/commandoption.h"
@@ -90,5 +89,3 @@ private:
Node *const actualNode);
};
#endif // COMMANDLINEPARSER_H

View File

@@ -15,8 +15,7 @@
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#ifndef COMMANDOPTION_H
#define COMMANDOPTION_H
#pragma once
#include <QStringList>
#include <functional>
@@ -64,5 +63,3 @@ private:
QString m_errorMsg;
};
#endif // COMMANDOPTION_H