initial version
This commit is contained in:
16
misc/Debug.h
Normal file
16
misc/Debug.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef DEBUG_H
|
||||
#define DEBUG_H
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
class Debug {
|
||||
|
||||
public:
|
||||
|
||||
static void error(const std::string& err) {
|
||||
qDebug(err.c_str());
|
||||
throw err;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // DEBUG_H
|
||||
13
misc/fixc11.h
Normal file
13
misc/fixc11.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef FIXC11_H
|
||||
#define FIXC11_H
|
||||
|
||||
#include <cmath>
|
||||
|
||||
//namespace std {
|
||||
|
||||
// template <typename T> T sqrt(const T val) {return ::sqrt(val);}
|
||||
|
||||
//}
|
||||
|
||||
|
||||
#endif // FIXC11_H
|
||||
Reference in New Issue
Block a user