Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions NativeFunc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ class NativeFuncBase
cell*
params_;

static std::list<NativeFuncBase*>*
all_;
static inline std::list<NativeFuncBase*>*
all_ = nullptr;
};

template <typename RET, typename... TS>
Expand Down
7 changes: 1 addition & 6 deletions NativesMain.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@

namespace pawn_natives
{
#ifdef PAWN_NATIVES_HAS_FUNC
std::list<NativeFuncBase*>*
NativeFuncBase::all_
= 0;
#endif

int AmxLoad(AMX* amx)
inline int AmxLoad(AMX* amx)
{
int
ret
Expand Down