correct order of #includes to include own libs first and then system ones
This commit is contained in:
		@@ -2,14 +2,14 @@
 | 
			
		||||
// Created by lukas on 11.02.20.
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
#include <Config.h>
 | 
			
		||||
#include <Logger.h>
 | 
			
		||||
#include "Config.h"
 | 
			
		||||
#include "Logger.h"
 | 
			
		||||
#include "Version.h"
 | 
			
		||||
 | 
			
		||||
#include <iostream>
 | 
			
		||||
#include <cstring>
 | 
			
		||||
#include <fstream>
 | 
			
		||||
#include <libconfig.h++>
 | 
			
		||||
#include <Version.h>
 | 
			
		||||
 | 
			
		||||
std::string Config::dynuapikey;
 | 
			
		||||
std::string Config::domainid; //id of the dynu domain
 | 
			
		||||
 
 | 
			
		||||
@@ -2,12 +2,12 @@
 | 
			
		||||
// Created by lukas on 05.05.19.
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
#include "FileLogger.h"
 | 
			
		||||
 | 
			
		||||
#include <fstream>
 | 
			
		||||
#include <iostream>
 | 
			
		||||
#include <climits>
 | 
			
		||||
 | 
			
		||||
#include "FileLogger.h"
 | 
			
		||||
 | 
			
		||||
void FileLogger::safeip(std::string ip) {
 | 
			
		||||
    std::ofstream out;
 | 
			
		||||
    out.open("ip.txt", std::ios::out);
 | 
			
		||||
 
 | 
			
		||||
@@ -2,20 +2,18 @@
 | 
			
		||||
// Created by lukas on 02.08.19.
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
#include "IPRefresher.h"
 | 
			
		||||
#include "FileLogger.h"
 | 
			
		||||
#include "api/IPAPI.h"
 | 
			
		||||
#include "api/DynuAPI.h"
 | 
			
		||||
#include "api/TelegramAPI.h"
 | 
			
		||||
#include "Config.h"
 | 
			
		||||
#include "Version.h"
 | 
			
		||||
 | 
			
		||||
#include <string>
 | 
			
		||||
 | 
			
		||||
#include <FileLogger.h>
 | 
			
		||||
#include <api/IPAPI.h>
 | 
			
		||||
#include <api/DynuAPI.h>
 | 
			
		||||
#include <api/TelegramAPI.h>
 | 
			
		||||
 | 
			
		||||
#include <chrono>
 | 
			
		||||
#include <thread>
 | 
			
		||||
#include <Logger.h>
 | 
			
		||||
 | 
			
		||||
#include <IPRefresher.h>
 | 
			
		||||
#include <Config.h>
 | 
			
		||||
#include <Version.h>
 | 
			
		||||
#include <climits>
 | 
			
		||||
 | 
			
		||||
void IPRefresher::checkIPAdress(bool force) {
 | 
			
		||||
 
 | 
			
		||||
@@ -2,11 +2,11 @@
 | 
			
		||||
// Created by lukas on 26.10.19.
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
#include "Logger.h"
 | 
			
		||||
 | 
			
		||||
#include <sstream>
 | 
			
		||||
#include <iostream>
 | 
			
		||||
 | 
			
		||||
#include "Logger.h"
 | 
			
		||||
 | 
			
		||||
void Logger::debug(const std::string message) {
 | 
			
		||||
    log(message, Logger::Debug);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,6 @@
 | 
			
		||||
#include <sstream>
 | 
			
		||||
#include <curl/curl.h>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
std::string API::request(std::string myurl) {
 | 
			
		||||
    Hashmap<std::string, std::string> map;
 | 
			
		||||
    std::vector<std::string> str;
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								src/main.cpp
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								src/main.cpp
									
									
									
									
									
								
							@@ -2,13 +2,13 @@
 | 
			
		||||
// Created by lukas on 18.06.19.
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
#include <Version.h>
 | 
			
		||||
#include <IPRefresher.h>
 | 
			
		||||
#include <Logger.h>
 | 
			
		||||
#include <Config.h>
 | 
			
		||||
#include "Version.h"
 | 
			
		||||
#include "IPRefresher.h"
 | 
			
		||||
#include "Logger.h"
 | 
			
		||||
#include "Config.h"
 | 
			
		||||
#include "api/IPAPI.h"
 | 
			
		||||
 | 
			
		||||
#include <iostream>
 | 
			
		||||
#include <api/IPAPI.h>
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * application entry point
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user