mirror of
https://github.com/lovell/sharp.git
synced 2026-02-15 02:56:14 +01:00
Modernise C++ linter using new @cpplint/cli tooling
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#define SRC_STATS_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <napi.h>
|
||||
|
||||
#include "./common.h"
|
||||
@@ -24,7 +25,7 @@ struct ChannelStats {
|
||||
|
||||
ChannelStats(int minVal, int maxVal, double sumVal, double squaresSumVal,
|
||||
double meanVal, double stdevVal, int minXVal, int minYVal, int maxXVal, int maxYVal):
|
||||
min(minVal), max(maxVal), sum(sumVal), squaresSum(squaresSumVal),
|
||||
min(minVal), max(maxVal), sum(sumVal), squaresSum(squaresSumVal), // NOLINT(build/include_what_you_use)
|
||||
mean(meanVal), stdev(stdevVal), minX(minXVal), minY(minYVal), maxX(maxXVal), maxY(maxYVal) {}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user