Skip to content

Comments

Fix rvalue error#111

Open
Tobias-Fischer wants to merge 1 commit intowg-perception:noeticfrom
Tobias-Fischer:patch-1
Open

Fix rvalue error#111
Tobias-Fischer wants to merge 1 commit intowg-perception:noeticfrom
Tobias-Fischer:patch-1

Conversation

@Tobias-Fischer
Copy link

Fixes

$SRC_DIR/ros-noetic-face-detector/src/work/src/face_detection.cpp:719:85: error: taking address of rvalue [-fpermissive]
  719 |             pos.object_id = static_cast<std::ostringstream*>(&(std::ostringstream() << max_id_))->str();
      |                                                               ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
ninja: build stopped: subcommand failed.

v4hn pushed a commit to ros-o/people that referenced this pull request Aug 19, 2024
(Taken from upstream wg-perception#111)
Update face_detection.cpp
@v4hn v4hn mentioned this pull request Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant