From 5b98e3f2af24751fbc1963826ff7c576313cf235 Mon Sep 17 00:00:00 2001 From: triple-Mu Date: Tue, 10 Jan 2023 22:29:21 +0800 Subject: [PATCH] Remove const --- csrc/end2end/include/config.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/csrc/end2end/include/config.h b/csrc/end2end/include/config.h index d865e90..cc3cd0b 100644 --- a/csrc/end2end/include/config.h +++ b/csrc/end2end/include/config.h @@ -9,12 +9,12 @@ namespace det { const int DEVICE = 0; - static const int INPUT_W = 640; - static const int INPUT_H = 640; - static const int NUM_INPUT = 1; - static const int NUM_OUTPUT = 4; + const int INPUT_W = 640; + const int INPUT_H = 640; + const int NUM_INPUT = 1; + const int NUM_OUTPUT = 4; - static const int NUM_BINDINGS = NUM_INPUT + NUM_OUTPUT; + const int NUM_BINDINGS = NUM_INPUT + NUM_OUTPUT; const cv::Scalar PAD_COLOR = { 114, 114, 114 }; const cv::Scalar RECT_COLOR = cv::Scalar(0, 0, 255); const cv::Scalar TXT_COLOR = cv::Scalar(255, 255, 255);