[Merge] unity:fix-std-tuple-use into unity:master

Dmitry Shachnev mitya57 at gmail.com
Sat Dec 1 13:21:23 UTC 2018


Dmitry Shachnev has proposed merging unity:fix-std-tuple-use into unity:master.

Commit message:
Use std::get instead of std::tr1::get for std::tuple.

Requested reviews:
  Unity Team (unity-team)

For more details, see:
https://code.launchpad.net/~unity-team/unity/+git/unity/+merge/359970

Use std::get instead of std::tr1::get for std::tuple.

std::tr1::get produces the following error:

tests/test_launcher_hide_machine.cpp:55:43: error: no matching function for call to ‘get<0>(const ParamType&)’
tests/test_launcher_hide_machine.cpp:55:43: note:   ‘const ParamType’ {aka ‘const std::tuple<unity::launcher::LauncherHideMachine::HideQuirk, bool, bool>’} is not derived from ‘const std::tr1::tuple<_Elements ...>’
-- 
Your team Unity Team is requested to review the proposed merge of unity:fix-std-tuple-use into unity:master.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 2402 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20181201/9ef10d7b/attachment.diff>


More information about the Ubuntu-reviews mailing list