Include self header first to catch problems

This commit is contained in:
emeric
2018-05-16 13:58:29 +02:00
parent 9a44fb838d
commit 1e7bfd14c2
39 changed files with 84 additions and 77 deletions
+2 -2
View File
@@ -17,6 +17,8 @@
* along with LMS. If not, see <http://www.gnu.org/licenses/>.
*/
#include "DatabaseSettingsView.hpp"
#include <Wt/WString.h>
#include <Wt/WPushButton.h>
#include <Wt/WComboBox.h>
@@ -34,8 +36,6 @@
#include "LmsApplication.hpp"
#include "DatabaseSettingsView.hpp"
namespace UserInterface {
using namespace Database;
+2 -2
View File
@@ -17,6 +17,8 @@
* along with LMS. If not, see <http://www.gnu.org/licenses/>.
*/
#include "InitWizardView.hpp"
#include <Wt/WFormModel.h>
#include <Wt/WLineEdit.h>
#include <Wt/WPushButton.h>
@@ -27,8 +29,6 @@
#include "common/Validators.hpp"
#include "LmsApplication.hpp"
#include "InitWizardView.hpp"
namespace UserInterface {
class InitWizardModel : public Wt::WFormModel
+2 -1
View File
@@ -17,6 +17,8 @@
* along with LMS. If not, see <http://www.gnu.org/licenses/>.
*/
#include "UserView.hpp"
#include <Wt/WApplication.h>
#include <Wt/WCheckBox.h>
#include <Wt/WComboBox.h>
@@ -32,7 +34,6 @@
#include "utils/Logger.hpp"
#include "LmsApplication.hpp"
#include "UserView.hpp"
namespace UserInterface {
+2 -1
View File
@@ -17,6 +17,8 @@
* along with LMS. If not, see <http://www.gnu.org/licenses/>.
*/
#include "UsersView.hpp"
#include <Wt/WTemplate.h>
#include <Wt/WPushButton.h>
@@ -24,7 +26,6 @@
#include "utils/Logger.hpp"
#include "LmsApplication.hpp"
#include "UsersView.hpp"
namespace UserInterface {
+1
View File
@@ -20,6 +20,7 @@
#pragma once
#include <Wt/WContainerWidget.h>
#include <Wt/WTemplate.h>
namespace UserInterface {