mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 00:36:07 +00:00
refactor(Core): apply clang-tidy modernize-redundant-void-arg (#3825)
This commit is contained in:
@@ -39,7 +39,7 @@ namespace VMAP
|
||||
public:
|
||||
IVMapManager() : iEnableLineOfSightCalc(true), iEnableHeightCalc(true) { }
|
||||
|
||||
virtual ~IVMapManager(void) { }
|
||||
virtual ~IVMapManager() { }
|
||||
|
||||
virtual int loadMap(const char* pBasePath, unsigned int pMapId, int x, int y) = 0;
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ namespace VMAP
|
||||
static std::string getMapFileName(unsigned int mapId);
|
||||
|
||||
VMapManager2();
|
||||
~VMapManager2(void) override;
|
||||
~VMapManager2() override;
|
||||
|
||||
int loadMap(const char* pBasePath, unsigned int mapId, int x, int y) override;
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ public:
|
||||
BigNumber ModExp(BigNumber const& bn1, BigNumber const& bn2);
|
||||
BigNumber Exp(BigNumber const&);
|
||||
|
||||
int32 GetNumBytes(void);
|
||||
int32 GetNumBytes();
|
||||
|
||||
struct bignum_st* BN() { return _bn; }
|
||||
|
||||
|
||||
@@ -27,8 +27,8 @@ public:
|
||||
void Initialize();
|
||||
void Finalize();
|
||||
|
||||
uint8* GetDigest(void) { return mDigest; };
|
||||
[[nodiscard]] int GetLength(void) const { return SHA_DIGEST_LENGTH; };
|
||||
uint8* GetDigest() { return mDigest; };
|
||||
[[nodiscard]] int GetLength() const { return SHA_DIGEST_LENGTH; };
|
||||
|
||||
private:
|
||||
SHA_CTX mC;
|
||||
|
||||
@@ -102,8 +102,8 @@ public:
|
||||
// return (t != NULL);
|
||||
//}
|
||||
|
||||
ContainerMapList<OBJECT_TYPES>& GetElements(void) { return i_elements; }
|
||||
[[nodiscard]] const ContainerMapList<OBJECT_TYPES>& GetElements(void) const { return i_elements;}
|
||||
ContainerMapList<OBJECT_TYPES>& GetElements() { return i_elements; }
|
||||
[[nodiscard]] const ContainerMapList<OBJECT_TYPES>& GetElements() const { return i_elements;}
|
||||
|
||||
private:
|
||||
ContainerMapList<OBJECT_TYPES> i_elements;
|
||||
|
||||
Reference in New Issue
Block a user