Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
bmagyar authored Nov 4, 2024
1 parent e80fd47 commit 326d6b2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/realtime_box_best_effort_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ TEST(RealtimeBoxBestEffort, non_default_constructable)
}
TEST(RealtimeBoxBestEffort, standard_get)
{
DefaultConstructable data_construct;
data_construct.a = 1000;
RealtimeBoxBestEffort<DefaultConstructable> box(data_construct);
RealtimeBoxBestEffort<DefaultConstructable> box(DefaultConstructable{1000});

DefaultConstructable data;
box.get(data);
Expand Down

0 comments on commit 326d6b2

Please sign in to comment.