wg-perception / people

269 stars 197 forks source link

Fix rvalue error #111

Open Tobias-Fischer opened 1 year ago

Tobias-Fischer commented 1 year ago

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.