From 643773c93d97de2c1834cc05a10fb8cfbe76124c Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sat, 4 Mar 2023 05:08:46 +0800 Subject: [PATCH] improved find_str_in_array --- inc/hgl/type/StrChar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/hgl/type/StrChar.h b/inc/hgl/type/StrChar.h index 64d909f..07c6cfc 100644 --- a/inc/hgl/type/StrChar.h +++ b/inc/hgl/type/StrChar.h @@ -2462,12 +2462,12 @@ namespace hgl } template - const int find_str_array(int count,const T **str_array,const T *str) + const int find_str_in_array(int count,const T **str_array,const T *str) { - for(int i=1;i