Skip to content

Commit

Permalink
5.8.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
bha-evs committed Aug 27, 2024
1 parent 2d2fac6 commit c0fe101
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions lib/include/bofstd/bofserviceendpoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ class BOFSTD_EXPORT BofServiceEndpoint
bool IsValid();
std::string ToString(bool _ShowName_B);

bool SetServiceMetaData(const BOF_SERVICE_ENPOINT_META_DATA &_rServiceEndpointMetaData_X);
bool SetServiceMetaData(void *_pServiceEndpointMetaData);
bool SetServiceName(const std::string &_rServiceName_S);
bool SetServiceInstance(const std::string &_rServiceInstance_S);
bool SetServiceUrl(const std::string &_rServiceUrl_S);
bool SetServiceTagCollection(const std::set<std::string> &_rServiceTagCollection);

BOF_SERVICE_ENPOINT_META_DATA GetServiceMetaData() const;
void *GetServiceMetaData() const;
std::string GetServiceName() const;
std::string GetServiceInstance() const;
std::string GetServiceUrl() const;
Expand All @@ -70,7 +70,7 @@ class BOFSTD_EXPORT BofServiceEndpoint
std::string mServiceName_S;
std::string mServiceInstance_S;
std::set<std::string> mServiceTagCollection;
BOF_SERVICE_ENPOINT_META_DATA mServiceEndpointMetaData_X;
void *mpServiceEndpointMetaData=nullptr;
};

END_BOF_NAMESPACE()
8 changes: 4 additions & 4 deletions lib/src/bofserviceendpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ std::string BofServiceEndpoint::ToString(bool _ShowName_B)
Rts += mUri.ToString();
return Rts;
}
bool BofServiceEndpoint::SetServiceMetaData(const BOF_SERVICE_ENPOINT_META_DATA &_rServiceEndpointMetaData_X)
bool BofServiceEndpoint::SetServiceMetaData(void *_pServiceEndpointMetaData)
{
mServiceEndpointMetaData_X = _rServiceEndpointMetaData_X;
mpServiceEndpointMetaData = _pServiceEndpointMetaData;
return true;
}
bool BofServiceEndpoint::SetServiceName(const std::string &_rServiceName_S)
Expand All @@ -79,9 +79,9 @@ bool BofServiceEndpoint::SetServiceTagCollection(const std::set<std::string> &_r
mServiceTagCollection = _rServiceTagCollection;
return true;
}
BOF_SERVICE_ENPOINT_META_DATA BofServiceEndpoint::GetServiceMetaData() const
void *BofServiceEndpoint::GetServiceMetaData() const
{
return mServiceEndpointMetaData_X;
return mpServiceEndpointMetaData;
}
std::string BofServiceEndpoint::GetServiceName() const
{
Expand Down
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bofstd",
"version": "5.8.1.4",
"version": "5.8.1.5",
"description": "The onbings general purpose C++ Multiplatform library",
"dependencies": [
{
Expand Down

0 comments on commit c0fe101

Please sign in to comment.