mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added more clang-tidy checks
Improved GitHub Action to run clang-format as part of clang-tidy * Simplify clang-tidy workflow * Added modernize-use-using, modernize-redundant-void-arg, readability-static-accessed-through-instance * Add nolint for libecl typedefs
This commit is contained in:
@@ -102,7 +102,7 @@ public:
|
||||
UNDEFINED
|
||||
};
|
||||
|
||||
typedef caf::AppEnum<ColorRangesType> ColorRangeEnum;
|
||||
using ColorRangeEnum = caf::AppEnum<ColorRangesType>;
|
||||
|
||||
enum class MappingType
|
||||
{
|
||||
@@ -112,14 +112,14 @@ public:
|
||||
LOG10_DISCRETE,
|
||||
CATEGORY_INTEGER
|
||||
};
|
||||
typedef caf::AppEnum<MappingType> MappingEnum;
|
||||
using MappingEnum = caf::AppEnum<MappingType>;
|
||||
|
||||
enum class CategoryColorModeType
|
||||
{
|
||||
INTERPOLATE,
|
||||
EXCLUSIVELY_COLORS
|
||||
};
|
||||
typedef caf::AppEnum<CategoryColorModeType> CategoryColorModeEnum;
|
||||
using CategoryColorModeEnum = caf::AppEnum<CategoryColorModeType>;
|
||||
|
||||
void onRecreateLegend() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user