mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-29 14:34:29 +00:00
Merge branch 'fix_clang_tidy_warnings' into 'master'
Fix clang tidy warnings (version 21.1.6) See merge request OpenMW/openmw!5015
This commit is contained in:
commit
96565e9afb
3 changed files with 9 additions and 3 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#pragma once
|
||||
#ifndef OPENMW_APPS_OPENCS_VIEW_WORLD_TABLEHEADERMOUSEEVENTHANDLER_HPP
|
||||
#define OPENMW_APPS_OPENCS_VIEW_WORLD_TABLEHEADERMOUSEEVENTHANDLER_HPP
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
|
|
@ -28,3 +29,5 @@ namespace CSVWorld
|
|||
|
||||
}; // class TableHeaderMouseEventHandler
|
||||
} // namespace CSVWorld
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -922,7 +922,7 @@ namespace ESM4
|
|||
std::string printLabel(const GroupLabel& label, const std::uint32_t type)
|
||||
{
|
||||
std::ostringstream ss;
|
||||
ss << sGroupType[std::min<std::size_t>(type, std::size(sGroupType))]; // avoid out of range
|
||||
ss << sGroupType[std::min<std::size_t>(type, std::size(sGroupType) - 1)]; // avoid out of range
|
||||
|
||||
switch (type)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#pragma once
|
||||
#ifndef OPENMW_COMPONENTS_MISC_HELPVIEWER_HPP
|
||||
#define OPENMW_COMPONENTS_MISC_HELPVIEWER_HPP
|
||||
|
||||
namespace Misc
|
||||
{
|
||||
|
|
@ -7,3 +8,5 @@ namespace Misc
|
|||
void openHelp(const char* url);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue