Closed Nicogene closed 2 years ago
You can see the failure also in the CI: https://github.com/robotology/robometry/runs/6371615035?check_suite_focus=true
Since the change of name is already a breaking change, I would suggest removing the template parameter completely. It was initially needed to preserve backward compatibility, but I think that is gone anyway
I am working on a PR: https://github.com/robotology/robometry/pull/175
Fixed by #175
I committed here a test that does not compile with this error:
With
BufferManager<int>
orBufferManager<>
it compiles without problem.Note that if it is not nested in a struct or class
BufferManager bm;
is a legit declaration:https://github.com/robotology/robometry/blob/14310e9a80c75eba987d647f02a91afe9f0c0512/test/BufferManagerTest.cpp#L360
This issue affects also releases
v0.5.0
andv0.5.1
cc @traversaro @GiulioRomualdi @S-Dafarra