Skip to content

Commit

Permalink
fix [[nodiscard]]
Browse files Browse the repository at this point in the history
Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>
  • Loading branch information
YamatoAndo committed Jul 10, 2024
1 parent aa70ae0 commit 71b27d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class DifferentialMapLoaderModule
void differential_area_load(
const autoware_map_msgs::msg::AreaInfo & area_info, const std::vector<std::string> & cached_ids,
const GetDifferentialPointCloudMap::Response::SharedPtr & response) const;
autoware_map_msgs::msg::PointCloudMapCellWithMetaData load_point_cloud_map_cell_with_metadata(
[[nodiscard]] autoware_map_msgs::msg::PointCloudMapCellWithMetaData load_point_cloud_map_cell_with_metadata(
const std::string & path, const std::string & map_id) const;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class PartialMapLoaderModule
void partial_area_load(
const autoware_map_msgs::msg::AreaInfo & area,
const GetPartialPointCloudMap::Response::SharedPtr & response) const;
autoware_map_msgs::msg::PointCloudMapCellWithMetaData load_point_cloud_map_cell_with_metadata(
[[nodiscard]] autoware_map_msgs::msg::PointCloudMapCellWithMetaData load_point_cloud_map_cell_with_metadata(
const std::string & path, const std::string & map_id) const;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class SelectedMapLoaderModule
[[nodiscard]] bool on_service_get_selected_point_cloud_map(
GetSelectedPointCloudMap::Request::SharedPtr req,
GetSelectedPointCloudMap::Response::SharedPtr res) const;
autoware_map_msgs::msg::PointCloudMapCellWithMetaData load_point_cloud_map_cell_with_metadata(
[[nodiscard]] autoware_map_msgs::msg::PointCloudMapCellWithMetaData load_point_cloud_map_cell_with_metadata(
const std::string & path, const std::string & map_id) const;
};

Expand Down

0 comments on commit 71b27d1

Please sign in to comment.