Fix windows naming issue with assert

This commit is contained in:
Lion Kortlepel
2020-11-03 12:10:08 +01:00
parent e986df0579
commit 801ea3f777
9 changed files with 10 additions and 10 deletions

View File

@@ -3,12 +3,12 @@
///
#include "Security/Enc.h"
#include "Settings.h"
#include "CustomAssert.h"
//#include <windows.h>
#include "Logger.h"
#include <sstream>
#include <thread>
#include <random>
#include <cassert>
int Rand(){
std::random_device r;
@@ -87,7 +87,7 @@ int Dec(int value,int d,int n){
#ifdef WIN32
int Handle(EXCEPTION_POINTERS *ep,char* Origin){
assert(false);
Assert\(false);
std::stringstream R;
R << Sec("Code : ") << std::hex
<< ep->ExceptionRecord->ExceptionCode