mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[shared] CLean warnings due to ExpiringPointer
This commit is contained in:
@@ -9,7 +9,6 @@ app_objs += $(addprefix apps/shared/,\
|
||||
curve_view_range.o\
|
||||
double_pair_store.o\
|
||||
editable_cell_table_view_controller.o\
|
||||
expiring_pointer.o\
|
||||
expression_field_delegate_app.o\
|
||||
expression_model.o\
|
||||
expression_model_list_controller.o\
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
#include "expiring_pointer.h"
|
||||
#include "storage_expression_model.h"
|
||||
#include "storage_cartesian_function.h"
|
||||
#include "storage_function.h"
|
||||
|
||||
namespace Shared {
|
||||
|
||||
#if DEBUG
|
||||
template<>
|
||||
StorageExpressionModel * ExpiringPointer<StorageExpressionModel>::s_global = nullptr;
|
||||
template<>
|
||||
StorageFunction * ExpiringPointer<StorageFunction>::s_global = nullptr;
|
||||
template<>
|
||||
StorageCartesianFunction * ExpiringPointer<StorageCartesianFunction>::s_global = nullptr;
|
||||
#endif
|
||||
|
||||
}
|
||||
@@ -32,6 +32,11 @@ private:
|
||||
T * m_rawPointer;
|
||||
};
|
||||
|
||||
#if DEBUG
|
||||
template<class T>
|
||||
T * ExpiringPointer<T>::s_global = nullptr;
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user