Skip to content

Commit

Permalink
release 3.1.23 source code for cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Feb 23, 2023
1 parent dd708b7 commit 4fc00ec
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 4 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 3.1.23 2023-02-23

### HuaweiCloud SDK Core

- _Features_
- None
- _Bug Fix_
- Fix compile errors on linux arm64 platform
- _Change_
- None

# 3.1.22 2023-02-16

### HuaweiCloud SDK FRS
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 3.1.23 2023-02-23

### HuaweiCloud SDK Core

- _新增特性_
-
- _解决问题_
- 修复在linux arm64平台上编译错误的问题
- _特性变更_
-

# 3.1.22 2023-02-16

### HuaweiCloud SDK FRS
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ else()
set(LIB_TYPE STATIC)
endif()

SET(BUILD_SERVICE sdrs)
SET(SERVICE_VERSION v1)
SET(BUILD_SERVICE ims)
SET(SERVICE_VERSION v2)

if(BUILD_SERVICE STREQUAL "all" OR BUILD_SERVICE STREQUAL "")
# USE MULTIPLE SERVICES(EXAMPLE: USE VPC ECS AND EIP)
Expand Down
2 changes: 1 addition & 1 deletion core/include/huaweicloud/core/Client.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class HUAWEICLOUD_CORE_EXPORT Client {
Region region_;
HttpClient httpClient_;

std::atomic<int> endpointIndex = 0;
std::atomic<int> endpointIndex;
};
}
}
Expand Down
4 changes: 3 additions & 1 deletion core/src/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ using namespace HuaweiCloud::Sdk::Core;
using namespace HuaweiCloud::Sdk::Core::Auth;
using namespace HuaweiCloud::Sdk::Core::Exception;

Client::Client() = default;
Client::Client() {
endpointIndex = 0;
};

Client::~Client() = default;

Expand Down

0 comments on commit 4fc00ec

Please sign in to comment.