From 1e226289d5ce8b35ea6f1f1be4c158bbf9ecb543 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Mon, 30 Sep 2024 23:32:04 +0800 Subject: [PATCH] use Contains instead of IsMember/IsExist --- datatype/IDNameTest.cpp | 4 ++-- datatype/MapTest.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/datatype/IDNameTest.cpp b/datatype/IDNameTest.cpp index f703e03..f7f5fe1 100644 --- a/datatype/IDNameTest.cpp +++ b/datatype/IDNameTest.cpp @@ -1,7 +1,7 @@ #include #include -void main() +int main(int,char **) { using namespace hgl; @@ -9,7 +9,7 @@ void main() AnsiIDName id4("id2"); AnsiIDName id5("id1"); - AnsiIDName id6("id1"); + AnsiIDName id6("id2"); std::cout<