Rename Handle class to avoid name collision in mac

This commit is contained in:
Arkshine
2015-07-21 00:18:54 +02:00
parent c6a3290c4f
commit 6b3b351c9a
13 changed files with 20 additions and 20 deletions

View File

@ -7,8 +7,8 @@
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
// https://alliedmods.net/amxmodx-license
#ifndef _NATIVES_HANDLES_H_
#define _NATIVES_HANDLES_H_
#ifndef _NATIVES_NATIVES_HANDLES_H_
#define _NATIVES_NATIVES_HANDLES_H_
#include <am-vector.h>
@ -18,7 +18,7 @@
// on accident.
template <typename T>
class Handle
class NativeHandle
{
private:
@ -26,8 +26,8 @@ class Handle
public:
Handle() {}
~Handle()
NativeHandle() {}
~NativeHandle()
{
this->clear();
}
@ -113,4 +113,4 @@ class Handle
}
};
#endif // _NATIVE_HANDLES_H_
#endif // _NATIVES_NATIVES_HANDLES_H_