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:
@@ -45,7 +45,7 @@ class RimContourMapProjection : public RimCheckableNamedObject
|
||||
CAF_PDM_HEADER_INIT;
|
||||
|
||||
public:
|
||||
typedef std::pair<size_t, double> CellIndexAndResult;
|
||||
using CellIndexAndResult = std::pair<size_t, double>;
|
||||
|
||||
struct ContourPolygon
|
||||
{
|
||||
@@ -69,8 +69,8 @@ public:
|
||||
RESULTS_GAS_COLUMN,
|
||||
RESULTS_HC_COLUMN
|
||||
};
|
||||
typedef caf::AppEnum<ResultAggregationEnum> ResultAggregation;
|
||||
typedef std::vector<ContourPolygon> ContourPolygons;
|
||||
using ResultAggregation = caf::AppEnum<ResultAggregationEnum>;
|
||||
using ContourPolygons = std::vector<ContourPolygon>;
|
||||
|
||||
RimContourMapProjection();
|
||||
~RimContourMapProjection() override;
|
||||
|
||||
Reference in New Issue
Block a user