Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings on Jammy #464

Merged
merged 2 commits into from
Aug 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ set (sources
)

set (gtest_sources
Application_TEST
Conversions_TEST
Dialog_TEST
DragDropModel_TEST
Helpers_TEST
GuiEvents_TEST
ign_TEST
MainWindow_TEST
PlottingInterface_TEST
Plugin_TEST
SearchModel_TEST
Application_TEST.cc
Conversions_TEST.cc
Dialog_TEST.cc
DragDropModel_TEST.cc
Helpers_TEST.cc
GuiEvents_TEST.cc
ign_TEST.cc
MainWindow_TEST.cc
PlottingInterface_TEST.cc
Plugin_TEST.cc
SearchModel_TEST.cc
)

if (MSVC)
Expand Down
3 changes: 1 addition & 2 deletions src/PlottingInterface_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ TEST(PlottingInterfaceTest, IGN_UTILS_TEST_DISABLED_ON_WIN32(Transport))

auto transport = Transport();

double time = 10;
std::shared_ptr<double> timeRef(&time);
auto timeRef = std::make_shared<double>(10);

transport.Subscribe("/collision_topic", "pose-position-x", 1, timeRef);
transport.Subscribe("/collision_topic", "pose-position-z", 1, timeRef);
Expand Down