mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
feat(CI): add cppcheck (#15211)
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
// cppcheck-suppress ctuOneDefinitionRuleViolation
|
||||
class DBCFile
|
||||
{
|
||||
public:
|
||||
@@ -48,8 +49,8 @@ public:
|
||||
{ }
|
||||
};
|
||||
// Iteration over database
|
||||
class Iterator;
|
||||
class Record
|
||||
class Iterator; // cppcheck-suppress ctuOneDefinitionRuleViolation
|
||||
class Record // cppcheck-suppress ctuOneDefinitionRuleViolation
|
||||
{
|
||||
public:
|
||||
[[nodiscard]] float getFloat(size_t field) const
|
||||
|
||||
Reference in New Issue
Block a user