Implement Assertion properly, TID printing in debug builds

This commit is contained in:
Lion Kortlepel
2020-11-03 10:13:52 +01:00
parent 69f20bdf41
commit 2ec65d5b84
12 changed files with 62 additions and 12 deletions

View File

@@ -3,6 +3,7 @@
///
#include "Security/Enc.h"
#include "Logger.h"
#include "Assert.h"
#include <fstream>
#include <string>
#include <thread>
@@ -77,6 +78,7 @@ std::string RemoveComments(const std::string& Line){
return Return;
}
void LoadConfig(std::ifstream& IFS){
Assert(IFS.is_open());
std::string line;
int index = 1;
while (getline(IFS, line)) {