Skip to content

Commit f5edc77

Browse files
committed
delete some function
1 parent 7f24969 commit f5edc77

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

infinite_sense_core/include/messenger.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ class Messenger {
1919
Messenger& operator=(const Messenger&) = delete;
2020
void Pub(const std::string& topic, const std::string& metadata);
2121
void PubStruct(const std::string& topic, const void* data, size_t size);
22-
[[nodiscard]] std::string GetPubEndpoint() const;
2322
void Sub(const std::string& topic, const std::function<void(const std::string&)>& callback);
2423
void SubStruct(const std::string& topic, const std::function<void(const void*, size_t)>& callback);
2524

infinite_sense_core/src/messenger.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ void Messenger::PubStruct(const std::string& topic, const void* data, size_t siz
5555
}
5656
}
5757

58-
std::string Messenger::GetPubEndpoint() const { return endpoint_; }
59-
6058
void Messenger::Sub(const std::string& topic, const std::function<void(const std::string&)>& callback) {
6159
sub_threads_.emplace_back([=, this]() {
6260
try {

0 commit comments

Comments
 (0)