-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: lvalue required as unary '&' operand
Don't seem like JANA2 actually relies on those semantics. In file included from /build/source/src/programs/unit_tests/PodioTests.cc:2: /build/source/src/programs/unit_tests/PodioTests.cc: In function 'void podiotests::____C_A_T_C_H____T_E_S_T____6()': /build/source/src/programs/unit_tests/PodioTests.cc:61:27: error: lvalue required as unary '&' operand 61 | REQUIRE(&(a.energy()) == &(b.energy())); // energy() getter returns a const& into the actual data object | ~~~~~~~~~^~~ /build/source/src/programs/unit_tests/PodioTests.cc:61:44: error: lvalue required as unary '&' operand 61 | REQUIRE(&(a.energy()) == &(b.energy())); // energy() getter returns a const& into the actual data object | ~~~~~~~~~^~~
- Loading branch information
Showing
1 changed file
with
0 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters