Skip to content

Commit 9cae6cc

Browse files
整理go语言部分
1 parent 693a784 commit 9cae6cc

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/main.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,17 @@
2323
using namespace std;
2424

2525

26-
const char * const SubStatusStr[] = {"init", "subscribe", "subscribed", "deleteting", "firstSub"};
2726

2827

2928

30-
int main(int argc, char* argv[]) {
3129

3230

3331

34-
std::atomic<uint32_t> iCount;
3532

36-
iCount.store(108);
33+
int main(int argc, char* argv[]) {
34+
3735

38-
iCount.store(iCount.load() % 100);
3936

40-
std:cout << iCount << std::endl;
4137

4238

4339
return 0;

0 commit comments

Comments
 (0)