From d96143f185a65632834ff2dca3f691728debd681 Mon Sep 17 00:00:00 2001 From: hsaturn Date: Sat, 10 Apr 2021 16:50:45 +0200 Subject: [PATCH] Fix warning --- src/StringIndexer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StringIndexer.h b/src/StringIndexer.h index 17d5ac1..5b6ebfe 100644 --- a/src/StringIndexer.h +++ b/src/StringIndexer.h @@ -28,7 +28,7 @@ class StringIndexer public: using index_t=uint8_t; - static const index_t strToIndex(const char* str, uint8_t len) + static index_t strToIndex(const char* str, uint8_t len) { for(auto it=strings.begin(); it!=strings.end(); it++) {