Skip to content

Commit

Permalink
Update test/realtime_box_tests.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Sai Kishor Kothakota <[email protected]>
  • Loading branch information
destogl and saikishor authored Oct 9, 2024
1 parent e251b00 commit 85a421e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/realtime_box_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ TEST(RealtimeBox, smart_ptr_type)
std::shared_ptr<int> ptr = std::make_shared<int>(100);

RealtimeBox<std::shared_ptr<int>> box(ptr);
// This does not and should not compile!
// auto value = box.get();

// Instead access it via a passed function.
// This assures that we access the data within the scope of the lock
Expand Down

0 comments on commit 85a421e

Please sign in to comment.