Skip to content

Commit

Permalink
Update main_sub.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
MelamudMichael authored Mar 10, 2024
1 parent 0eacaa2 commit 8adf41a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pubsub/src/main_sub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ class CustomListener : public UListener {
UStatus onReceive(const UUri& uri,
const UPayload& payload,
const UAttributes& attributes) const override {


(void)attributes;

if (TIME_URI_STRING == LongUriSerializer::serialize(uri)) {

const uint64_t *timeInMilliseconds = reinterpret_cast<const uint64_t*>(payload.data());
Expand Down Expand Up @@ -149,4 +151,4 @@ int main(int argc,
}

return 0;
}
}

0 comments on commit 8adf41a

Please sign in to comment.