ref #39 #40 moved all stuff left in KLib into Indoor. We are now able to perform localization without the need of KLib. Only K::Gnuplot is needed for drawing, but this will be separated into an own project in the future
This commit is contained in:
@@ -51,7 +51,7 @@ namespace Assert {
|
||||
if (v != nullptr) {doThrow(err);}
|
||||
}
|
||||
|
||||
template <typename T, typename STR> static inline void isNotNull(const T v, const STR err) {
|
||||
template <typename T, typename STR> static inline void isNotNull(const T& v, const STR err) {
|
||||
if (v == nullptr) {doThrow(err);}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user