Snippets for mir 2.28.0 from Alpine s390x
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-s390x/testing/mir/mir-2.28.0-r4.log.
-
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_framework/libinput_environment.cpp:111:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir_test_framework::LibInputEnvironment::setup_device(const std::string&)::<lambda(udev_device*, const char*)>; typename std::decay<_Tp>::type = mir_test_framework::LibInputEnvironment::setup_device(const std::string&)::<lambda(udev_device*, const char*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 111 | .WillByDefault(Invoke( | ~~~~~~^ 112 | [this, device_name](udev_device*, char const* property) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | { | ~ 114 | return standard_devices[device_name].properties[property].c_str(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | } | ~ 116 | )); | ~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_gl.cpp:45:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockGL::MockGL()::<lambda(GLsizei, GLuint*)>; typename std::decay<_Tp>::type = mir::test::doubles::MockGL::MockGL()::<lambda(GLsizei, GLuint*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 45 | .WillByDefault(Invoke( | ~~~~~~^ 46 | [] (GLsizei n, GLuint *textures) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | { | ~ 48 | std::memset(textures, 0, n * sizeof(*textures)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_egl.cpp:107:26: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockEGL::MockEGL()::<lambda(EGLDisplay, const EGLint*, void**, EGLint, EGLint*)>; typename std::decay<_Tp>::type = mir::test::doubles::MockEGL::MockEGL()::<lambda(EGLDisplay, const EGLint*, void**, EGLint, EGLint*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 107 | .WillByDefault(Invoke( | ~~~~~~^ 108 | [&] (EGLDisplay, const EGLint *, EGLConfig *configs, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 109 | EGLint config_size, EGLint *num_config) -> EGLBoolean | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | { | ~ 111 | if (configs != nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~ 112 | { | ~ 113 | EGLint const min_size = std::min(config_size, fake_configs_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 | std::copy(fake_configs, fake_configs + min_size, configs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | *num_config = min_size; | ~~~~~~~~~~~~~~~~~~~~~~~ 116 | } | ~ 117 | else | ~~~~ 118 | { | ~ 119 | *num_config = fake_configs_num; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | } | ~ 121 | return EGL_TRUE; | ~~~~~~~~~~~~~~~~ 122 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_egl.cpp:136:26: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockEGL::MockEGL()::<lambda(EGLDisplay, EGLSurface, EGLSurface, EGLContext)>; typename std::decay<_Tp>::type = mir::test::doubles::MockEGL::MockEGL()::<lambda(EGLDisplay, EGLSurface, EGLSurface, EGLContext)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 136 | .WillByDefault(Invoke( | ~~~~~~^ 137 | [this] (EGLDisplay, EGLSurface, EGLSurface, EGLContext context) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | { | ~ 139 | (*current_contexts.lock())[std::this_thread::get_id()] = context; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | return EGL_TRUE; | ~~~~~~~~~~~~~~~~ 141 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_egl.cpp:144:26: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockEGL::MockEGL()::<lambda()>; typename std::decay<_Tp>::type = mir::test::doubles::MockEGL::MockEGL()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 144 | .WillByDefault(Invoke([this] | ~~~~~~^~~~~~~ 145 | { | ~ 146 | return (*current_contexts.lock())[std::this_thread::get_id()]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_egl.cpp:209:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockEGL::provide_stub_platform_buffer_swapping()::<lambda(EGLDisplay, EGLConfig, mir::test::doubles::MockEGL::AnyNativeType, const EGLint*)>; typename std::decay<_Tp>::type = mir::test::doubles::MockEGL::provide_stub_platform_buffer_swapping()::<lambda(EGLDisplay, EGLConfig, mir::test::doubles::MockEGL::AnyNativeType, const EGLint*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 209 | .WillByDefault(Invoke( | ~~~~~~^ 210 | [&] (EGLDisplay,EGLConfig,AnyNativeType nw, EGLint const*) -> EGLSurface | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | { | ~ 212 | return reinterpret_cast<EGLSurface>(nw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_x11.cpp:80:37: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockX11::MockX11()::<lambda()>; std::decay_t<_Tp> = mir::test::doubles::MockX11::MockX11()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 80 | .WillByDefault(InvokeWithoutArgs([this]() | ~~~~~~~~~~~~~~~~~^~~~~~~~~ 81 | { | ~ 82 | return fake_x11.pending_events; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 83 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_x11.cpp:86:37: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockX11::MockX11()::<lambda()>; std::decay_t<_Tp> = mir::test::doubles::MockX11::MockX11()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 86 | .WillByDefault(InvokeWithoutArgs([this]() | ~~~~~~~~~~~~~~~~~^~~~~~~~~ 87 | { | ~ 88 | return fake_x11.pending_events; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_drm.cpp:285:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockDRM::MockDRM()::<lambda(const char*)>; typename std::decay<_Tp>::type = mir::test::doubles::MockDRM::MockDRM()::<lambda(const char*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 285 | Invoke( | ~~~~~~^ 286 | [this](char const* device_path) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | { | ~ 288 | auto fd = fake_drms[device_path].fd(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 289 | fd_to_drm.insert({fd, fake_drms[device_path]}); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | return fd; | ~~~~~~~~~~ 291 | }))); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_drm.cpp:295:30: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockDRM::MockDRM()::<lambda()>; std::decay_t<_Tp> = mir::test::doubles::MockDRM::MockDRM()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 295 | InvokeWithoutArgs( | ~~~~~~~~~~~~~~~~~^ 296 | [this]() | ~~~~~~~~ 297 | { | ~ 298 | auto fd = fake_drms["/dev/dri/card0"].fd(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | fd_to_drm.insert({fd, fake_drms["/dev/dri/card0"]}); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 300 | return fd; | ~~~~~~~~~~ 301 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_drm.cpp:305:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockDRM::MockDRM()::<lambda(int)>; typename std::decay<_Tp>::type = mir::test::doubles::MockDRM::MockDRM()::<lambda(int)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 305 | Invoke( | ~~~~~~^ 306 | [this](int fd) | ~~~~~~~~~~~~~~ 307 | { | ~ 308 | return fd_to_drm.at(fd).resources_ptr(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_drm.cpp:313:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockDRM::MockDRM()::<lambda(int, uint32_t)>; typename std::decay<_Tp>::type = mir::test::doubles::MockDRM::MockDRM()::<lambda(int, uint32_t)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 313 | Invoke( | ~~~~~~^ 314 | [this](int fd, uint32_t crtc_id) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | { | ~ 316 | return fd_to_drm.at(fd).find_crtc(crtc_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 317 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_drm.cpp:321:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockDRM::MockDRM()::<lambda(int, uint32_t)>; typename std::decay<_Tp>::type = mir::test::doubles::MockDRM::MockDRM()::<lambda(int, uint32_t)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 321 | Invoke( | ~~~~~~^ 322 | [this](int fd, uint32_t encoder_id) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 323 | { | ~ 324 | return fd_to_drm.at(fd).find_encoder(encoder_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 325 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_drm.cpp:329:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockDRM::MockDRM()::<lambda(int, uint32_t)>; typename std::decay<_Tp>::type = mir::test::doubles::MockDRM::MockDRM()::<lambda(int, uint32_t)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 329 | Invoke( | ~~~~~~^ 330 | [this](int fd, uint32_t connector_id) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | { | ~ 332 | return fd_to_drm.at(fd).find_connector(connector_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 333 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_drm.cpp:340:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockDRM::MockDRM()::<lambda(auto:46, auto:47)>; typename std::decay<_Tp>::type = mir::test::doubles::MockDRM::MockDRM()::<lambda(auto:46, auto:47)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 340 | Invoke( | ~~~~~~^ 341 | [this](auto fd, auto version) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 342 | { | ~ 343 | if (version->drm_di_major != 1 || version->drm_di_minor != 4) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 344 | { | ~ 345 | ADD_FAILURE() << "We should only ever request DRM version 1.4"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 346 | errno = EINVAL; | ~~~~~~~~~~~~~~~ 347 | return -1; | ~~~~~~~~~~ 348 | } | ~ 349 | | 350 | fd_to_drm.at(fd).drm_setversion_called = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 351 | return 0; | ~~~~~~~~~ 352 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_drm.cpp:356:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockDRM::MockDRM()::<lambda(auto:48)>; typename std::decay<_Tp>::type = mir::test::doubles::MockDRM::MockDRM()::<lambda(auto:48)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 356 | Invoke( | ~~~~~~^ 357 | [this](auto fd) -> char* | ~~~~~~~~~~~~~~~~~~~~~~~~ 358 | { | ~ 359 | if (!fd_to_drm.at(fd).drm_setversion_called) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | { | ~ 361 | return nullptr; | ~~~~~~~~~~~~~~~ 362 | } | ~ 363 | return static_cast<char*>(malloc(10)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 364 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_drm.cpp:367:41: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockDRM::MockDRM()::<lambda(const char*)>; typename std::decay<_Tp>::type = mir::test::doubles::MockDRM::MockDRM()::<lambda(const char*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 367 | .WillByDefault(WithArg<0>(Invoke([&](const char* busid) { free(const_cast<char*>(busid)); }))); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_drm.cpp:370:41: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockDRM::MockDRM()::<lambda()>; std::decay_t<_Tp> = mir::test::doubles::MockDRM::MockDRM()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 370 | .WillByDefault(InvokeWithoutArgs([]() { return strdup("/dev/dri/card0"); })); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_drm.cpp:393:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockDRM::MockDRM()::<lambda(auto:49)>; typename std::decay<_Tp>::type = mir::test::doubles::MockDRM::MockDRM()::<lambda(auto:49)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 393 | WithArg<1>(Invoke( | ~~~~~~^ 394 | [this](auto size) -> void* | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 395 | { | ~ 396 | auto allocation = std::make_unique<char[]>(size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 397 | void* const address = allocation.get(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 398 | mmapings.insert(std::make_pair(std::move(allocation), size)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 399 | return address; | ~~~~~~~~~~~~~~~ 400 | }))); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_drm.cpp:404:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockDRM::MockDRM()::<lambda(void*)>; typename std::decay<_Tp>::type = mir::test::doubles::MockDRM::MockDRM()::<lambda(void*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 404 | WithArg<0>(Invoke( | ~~~~~~^ 405 | [this](void* addr) -> int | ~~~~~~~~~~~~~~~~~~~~~~~~~ 406 | { | ~ 407 | auto iter = mmapings.find(addr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 408 | mmapings.erase(iter); | ~~~~~~~~~~~~~~~~~~~~~ 409 | return 0; | ~~~~~~~~~ 410 | }))); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_libinput.cpp:38:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockLibInput::MockLibInput()::<lambda(libinput*)>; typename std::decay<_Tp>::type = mir::test::doubles::MockLibInput::MockLibInput()::<lambda(libinput*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 38 | .WillByDefault(Invoke([this](libinput*) -> libinput_event* | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | { | ~ 40 | if (events.empty()) | ~~~~~~~~~~~~~~~~~~~ 41 | return nullptr; | ~~~~~~~~~~~~~~~ 42 | libinput_simulation_queue.dispatch(mir::dispatch::FdEvent::readable); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 43 | auto ret = events.front(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 | events.erase(events.begin()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 45 | return ret; | ~~~~~~~~~~~ 46 | } | ~ 47 | )); | ~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_libinput.cpp:98:41: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockLibInput::setup_device(libinput_device*, libinput_device_group*, std::shared_ptr<udev_device>, const char*, const char*, unsigned int, unsigned int)::<lambda()>; std::decay_t<_Tp> = mir::test::doubles::MockLibInput::setup_device(libinput_device*, libinput_device_group*, std::shared_ptr<udev_device>, const char*, const char*, unsigned int, unsigned int)::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 98 | .WillByDefault(InvokeWithoutArgs([u_dev]() { return udev_device_ref(u_dev.get());})); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_libinput.cpp:849:30: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockLibInput::setup_pointer_scroll_wheel_event(libinput_device*, uint64_t, std::optional<double>, std::optional<double>, double, double)::<lambda()>; std::decay_t<_Tp> = mir::test::doubles::MockLibInput::setup_pointer_scroll_wheel_event(libinput_device*, uint64_t, std::optional<double>, std::optional<double>, double, double)::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 849 | InvokeWithoutArgs( | ~~~~~~~~~~~~~~~~~^ 850 | []() -> double | ~~~~~~~~~~~~~~ 851 | { | ~ 852 | BOOST_THROW_EXCEPTION(( | ~~~~~~~~~~~~~~~~~~~~~~~ 853 | std::logic_error{"axis_value_discrete only returns a non-zero value on EVENT_POINTER_AXIS events"})); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 854 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/mir_test_doubles/mock_libinput.cpp:857:30: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockLibInput::setup_pointer_scroll_wheel_event(libinput_device*, uint64_t, std::optional<double>, std::optional<double>, double, double)::<lambda()>; std::decay_t<_Tp> = mir::test::doubles::MockLibInput::setup_pointer_scroll_wheel_event(libinput_device*, uint64_t, std::optional<double>, std::optional<double>, double, double)::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 857 | InvokeWithoutArgs( | ~~~~~~~~~~~~~~~~~^ 858 | []() -> double | ~~~~~~~~~~~~~~ 859 | { | ~ 860 | BOOST_THROW_EXCEPTION(( | ~~~~~~~~~~~~~~~~~~~~~~~ 861 | std::logic_error{"axis_value_discrete only returns a non-zero value on EVENT_POINTER_AXIS events"})); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 862 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/include/mir/test/doubles/stub_gl_rendering_provider.h:44:43: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::StubGlRenderingProvider::as_texture(std::shared_ptr<mir::graphics::Buffer>)::<lambda(auto:46&)>; typename std::decay<_Tp>::type = mir::test::doubles::StubGlRenderingProvider::as_texture(std::shared_ptr<mir::graphics::Buffer>)::<lambda(auto:46&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 44 | .WillByDefault(testing::Invoke( | ~~~~~~~~~~~~~~~^ 45 | [](auto& factory) -> mir::graphics::gl::Program& | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 46 | { | ~ 47 | static int unused = 1; | ~~~~~~~~~~~~~~~~~~~~~~ 48 | return factory.compile_fragment_shader(&unused, "extension code", "fragment code"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/platforms/atomic-kms/kms/test_cursor.cpp:260:34: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::AtomicKmsCursorTest::AtomicKmsCursorTest()::<lambda(int, uint64_t, uint64_t*)>; typename std::decay<_Tp>::type = {anonymous}::AtomicKmsCursorTest::AtomicKmsCursorTest()::<lambda(int, uint64_t, uint64_t*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 260 | .WillByDefault(Invoke([](int , uint64_t , uint64_t *value) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | { | ~ 262 | *value = 64; | ~~~~~~~~~~~~ 263 | return 0; | ~~~~~~~~~ 264 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/platforms/atomic-kms/kms/test_cursor.cpp:266:34: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::AtomicKmsCursorTest::AtomicKmsCursorTest()::<lambda(int, uint64_t, uint64_t*)>; typename std::decay<_Tp>::type = {anonymous}::AtomicKmsCursorTest::AtomicKmsCursorTest()::<lambda(int, uint64_t, uint64_t*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 266 | .WillByDefault(Invoke([](int , uint64_t , uint64_t *value) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 267 | { | ~ 268 | *value = 64; | ~~~~~~~~~~~~ 269 | return 0; | ~~~~~~~~~ 270 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/platforms/gbm-kms/kms/test_cursor.cpp:309:34: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::MesaCursorTest::MesaCursorTest()::<lambda(int, uint64_t, uint64_t*)>; typename std::decay<_Tp>::type = {anonymous}::MesaCursorTest::MesaCursorTest()::<lambda(int, uint64_t, uint64_t*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 309 | .WillByDefault(Invoke([this](int , uint64_t , uint64_t *value) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | { | ~ 311 | *value = cursor_side; | ~~~~~~~~~~~~~~~~~~~~~ 312 | return 0; | ~~~~~~~~~ 313 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/platforms/gbm-kms/kms/test_cursor.cpp:315:34: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::MesaCursorTest::MesaCursorTest()::<lambda(int, uint64_t, uint64_t*)>; typename std::decay<_Tp>::type = {anonymous}::MesaCursorTest::MesaCursorTest()::<lambda(int, uint64_t, uint64_t*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 315 | .WillByDefault(Invoke([this](int , uint64_t , uint64_t *value) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 316 | { | ~ 317 | *value = cursor_side; | ~~~~~~~~~~~~~~~~~~~~~ 318 | return 0; | ~~~~~~~~~ 319 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/platforms/gbm-kms/kms/test_cursor.cpp:373:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MesaCursorTest_respects_drm_cap_cursor_Test::TestBody()::<lambda(int, uint64_t, uint64_t*)>; typename std::decay<_Tp>::type = MesaCursorTest_respects_drm_cap_cursor_Test::TestBody()::<lambda(int, uint64_t, uint64_t*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 373 | .WillByDefault(Invoke([](int , uint64_t , uint64_t *value) { *value = drm_buffer_size; return 0; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/platforms/gbm-kms/kms/test_cursor.cpp:376:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MesaCursorTest_respects_drm_cap_cursor_Test::TestBody()::<lambda(int, uint64_t, uint64_t*)>; typename std::decay<_Tp>::type = MesaCursorTest_respects_drm_cap_cursor_Test::TestBody()::<lambda(int, uint64_t, uint64_t*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 376 | .WillByDefault(Invoke([](int , uint64_t , uint64_t *value) { *value = drm_buffer_size; return 0; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/input/evdev/test_evdev_input_platform.cpp:102:27: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::EvdevInputPlatform::EvdevInputPlatform()::<lambda(const char*)>; typename std::decay<_Tp>::type = {anonymous}::EvdevInputPlatform::EvdevInputPlatform()::<lambda(const char*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 102 | Invoke( | ~~~~~~^ 103 | [&](char const* path) | ~~~~~~~~~~~~~~~~~~~~~ 104 | { | ~ 105 | auto const device = get_unique_device_ptr(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 106 | li_mock.setup_device( | ~~~~~~~~~~~~~~~~~~~~~ 107 | device, | ~~~~~~~ 108 | get_unique_device_group_ptr(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 109 | device_for_path(path), | ~~~~~~~~~~~~~~~~~~~~~~ 110 | "Hello", | ~~~~~~~~ 111 | "SYSNAME", | ~~~~~~~~~~ 112 | 33, | ~~~ 113 | 44); | ~~~~ 114 | li_mock.setup_device_add_event(device); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | return device; | ~~~~~~~~~~~~~~ 116 | }))); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/input/evdev/test_evdev_input_platform.cpp:120:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::EvdevInputPlatform::EvdevInputPlatform()::<lambda(auto:47)>; typename std::decay<_Tp>::type = {anonymous}::EvdevInputPlatform::EvdevInputPlatform()::<lambda(auto:47)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 120 | Invoke( | ~~~~~~^ 121 | [this](auto device) | ~~~~~~~~~~~~~~~~~~~ 122 | { | ~ 123 | li_mock.setup_device_remove_event(device); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 124 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/input/evdev/test_evdev_input_platform.cpp:256:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = EvdevInputPlatform_devices_from_same_group_Test::TestBody()::<lambda(const char*)>; typename std::decay<_Tp>::type = EvdevInputPlatform_devices_from_same_group_Test::TestBody()::<lambda(const char*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 256 | Invoke( | ~~~~~~^ 257 | [&](char const* path) | ~~~~~~~~~~~~~~~~~~~~~ 258 | { | ~ 259 | auto device = get_unique_device_ptr(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | li_mock.setup_device( | ~~~~~~~~~~~~~~~~~~~~~ 261 | device, | ~~~~~~~ 262 | reinterpret_cast<libinput_device_group*>(0xaabbbb), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | device_for_path(path), | ~~~~~~~~~~~~~~~~~~~~~~ 264 | "Hello", | ~~~~~~~~ 265 | "SYSNAME", | ~~~~~~~~~~ 266 | 33, | ~~~ 267 | 44); | ~~~~ 268 | li_mock.setup_device_add_event(device); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | return device; | ~~~~~~~~~~~~~~ 270 | }))); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/wayland/test_lifetime_tracker.cpp:82:63: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = LifetimeTrackerTest_is_still_alive_when_destroy_listener_called_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = LifetimeTrackerTest_is_still_alive_when_destroy_listener_called_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 82 | EXPECT_CALL(listener, callback()).Times(1).WillOnce(Invoke([weak]() | ~~~~~~^~~~~~~~~ 83 | { | ~ 84 | EXPECT_THAT(weak, IsTrue()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/wayland/test_lifetime_tracker.cpp:91:63: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = LifetimeTrackerTest_can_be_marked_as_destroyed_from_within_listener_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = LifetimeTrackerTest_can_be_marked_as_destroyed_from_within_listener_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 91 | EXPECT_CALL(listener, callback()).Times(1).WillOnce(Invoke([&]() | ~~~~~~^~~~~~ 92 | { | ~ 93 | // why would you want to do this? idk, but you can! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | tracker.mark_destroyed(); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/input/test_input_platform_probing.cpp:67:34: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::InputPlatformProbe::InputPlatformProbe()::<lambda(const char*)>; typename std::decay<_Tp>::type = {anonymous}::InputPlatformProbe::InputPlatformProbe()::<lambda(const char*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 67 | .WillByDefault(Invoke( | ~~~~~~^ 68 | [this](char const*) -> boost::any const& | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | { | ~ 70 | return platform_path_value_as_any; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/input/test_input_platform_probing.cpp:73:34: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::InputPlatformProbe::InputPlatformProbe()::<lambda(const char*)>; typename std::decay<_Tp>::type = {anonymous}::InputPlatformProbe::InputPlatformProbe()::<lambda(const char*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 73 | .WillByDefault(Invoke( | ~~~~~~^ 74 | [this](char const*) -> boost::any const& | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | { | ~ 76 | return platform_input_lib_value_as_any; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/input/test_x11_platform.cpp:70:34: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::X11PlatformTest::capture_devices()::<lambda(const auto:46&)>; typename std::decay<_Tp>::type = {anonymous}::X11PlatformTest::capture_devices()::<lambda(const auto:46&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 70 | .WillByDefault(Invoke([this](auto const& dev) -> std::weak_ptr<mi::Device> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | { | ~ 72 | devices.push_back(dev); | ~~~~~~~~~~~~~~~~~~~~~~~ 73 | auto const info = dev->get_device_info(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | if (contains(info.capabilities, mi::DeviceCapability::pointer)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | dev->start(&mock_pointer_sink, &builder); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | else if (contains(info.capabilities, mi::DeviceCapability::keyboard)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | dev->start(&mock_keyboard_sink, &builder); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 | return {}; | ~~~~~~~~~~ 79 | }) | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/include/mir/test/doubles/mock_buffer_stream.h:67:43: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockBufferStream::MockBufferStream()::<lambda(const auto:48&)>; typename std::decay<_Tp>::type = mir::test::doubles::MockBufferStream::MockBufferStream()::<lambda(const auto:48&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 67 | .WillByDefault(testing::Invoke([&](auto const& callback){ frame_posted_callback = callback; })); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/include/mir/test/doubles/stub_gl_rendering_provider.h:44:43: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::StubGlRenderingProvider::as_texture(std::shared_ptr<mir::graphics::Buffer>)::<lambda(auto:49&)>; typename std::decay<_Tp>::type = mir::test::doubles::StubGlRenderingProvider::as_texture(std::shared_ptr<mir::graphics::Buffer>)::<lambda(auto:49&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 44 | .WillByDefault(testing::Invoke( | ~~~~~~~~~~~~~~~^ 45 | [](auto& factory) -> mir::graphics::gl::Program& | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 46 | { | ~ 47 | static int unused = 1; | ~~~~~~~~~~~~~~~~~~~~~~ 48 | return factory.compile_fragment_shader(&unused, "extension code", "fragment code"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/integration-tests/test_surface_stack_with_compositor.cpp:141:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::StubTexture::StubTexture()::<lambda(auto:50&)>; typename std::decay<_Tp>::type = {anonymous}::StubTexture::StubTexture()::<lambda(auto:50&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 141 | Invoke( | ~~~~~~^ 142 | [](auto& factory) -> mg::gl::Program& | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | { | ~ 144 | static int yo; | ~~~~~~~~~~~~~~ 145 | return factory.compile_fragment_shader( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 146 | &yo, | ~~~~ 147 | "extension fragment", | ~~~~~~~~~~~~~~~~~~~~~ 148 | "shader code"); | ~~~~~~~~~~~~~~~ 149 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/integration-tests/input/test_single_seat_setup.cpp:136:34: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::SingleSeatInputDeviceHubSetup::capture_input_sink(testing::NiceMock<mir::test::doubles::MockInputDevice>&, mir::input::InputSink*&, mir::input::EventBuilder*&)::<lambda(mir::input::InputSink*, mir::input::EventBuilder*)>; typename std::decay<_Tp>::type = {anonymous}::SingleSeatInputDeviceHubSetup::capture_input_sink(testing::NiceMock<mir::test::doubles::MockInputDevice>&, mir::input::InputSink*&, mir::input::EventBuilder*&)::<lambda(mir::input::InputSink*, mir::input::EventBuilder*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 136 | .WillByDefault(Invoke([&sink,&builder](mi::InputSink* input_sink, mi::EventBuilder* event_builder) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | { | ~ 138 | sink = input_sink; | ~~~~~~~~~~~~~~~~~~ 139 | builder = event_builder; | ~~~~~~~~~~~~~~~~~~~~~~~~ 140 | } | ~ 141 | )); | ~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/shell/test_decoration_basic_manager.cpp:51:35: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DecorationBasicManager::SetUp()::<lambda()>; typename std::decay<_Tp>::type = DecorationBasicManager::SetUp()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 51 | .WillRepeatedly(Invoke([](){ return new StubDecoration; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/shell/test_decoration_basic_manager.cpp:102:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DecorationBasicManager_calls_build_decoration_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = DecorationBasicManager_calls_build_decoration_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 102 | .WillOnce(Invoke([](){ return new StubDecoration; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/shell/test_decoration_basic_manager.cpp:119:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DecorationBasicManager_decorating_a_surface_is_idempotent_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = DecorationBasicManager_decorating_a_surface_is_idempotent_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 119 | .WillOnce(Invoke([](){ return new StubDecoration; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/shell/test_decoration_basic_manager.cpp:159:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DecorationBasicManager_undecorate_works_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = DecorationBasicManager_undecorate_works_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 159 | .WillOnce(Invoke([&](){ return decoration_a.release(); })) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/shell/test_decoration_basic_manager.cpp:160:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DecorationBasicManager_undecorate_works_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = DecorationBasicManager_undecorate_works_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 160 | .WillOnce(Invoke([&](){ return decoration_b.release(); })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/shell/test_decoration_basic_manager.cpp:181:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DecorationBasicManager_undecorate_all_works_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = DecorationBasicManager_undecorate_all_works_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 181 | .WillOnce(Invoke([&](){ return decoration_a.release(); })) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/shell/test_decoration_basic_manager.cpp:182:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DecorationBasicManager_undecorate_all_works_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = DecorationBasicManager_undecorate_all_works_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 182 | .WillOnce(Invoke([&](){ return decoration_b.release(); })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/shell/test_decoration_basic_manager.cpp:197:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DecorationBasicManager_does_not_build_decorations_while_locked_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = DecorationBasicManager_does_not_build_decorations_while_locked_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 197 | .WillOnce(Invoke([&]() | ~~~~~~^~~~~~ 198 | { | ~ 199 | manager.decorate(surface_b); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | return decoration_a.release(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | })) | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/shell/test_decoration_basic_manager.cpp:202:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DecorationBasicManager_does_not_build_decorations_while_locked_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = DecorationBasicManager_does_not_build_decorations_while_locked_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 202 | .WillOnce(Invoke([&](){ return decoration_b.release(); })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/shell/test_decoration_basic_manager.cpp:214:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DecorationBasicManager_does_not_destroy_decorations_while_locked_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = DecorationBasicManager_does_not_destroy_decorations_while_locked_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 214 | .WillOnce(Invoke([&](){ return decoration_a.release(); })) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/shell/test_decoration_basic_manager.cpp:215:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DecorationBasicManager_does_not_destroy_decorations_while_locked_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = DecorationBasicManager_does_not_destroy_decorations_while_locked_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 215 | .WillOnce(Invoke([&](){ return decoration_b.release(); })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/shell/test_decoration_basic_manager.cpp:218:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DecorationBasicManager_does_not_destroy_decorations_while_locked_Test::TestBody()::<lambda(auto:47)>; typename std::decay<_Tp>::type = DecorationBasicManager_does_not_destroy_decorations_while_locked_Test::TestBody()::<lambda(auto:47)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 218 | .WillOnce(Invoke([&](auto) | ~~~~~~^~~~~~~~~~ 219 | { | ~ 220 | manager.undecorate(surface_b); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_basic_idle_hub.cpp:112:51: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = BasicIdleHub_observer_can_remove_itself_in_idle_notification_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = BasicIdleHub_observer_can_remove_itself_in_idle_notification_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 112 | EXPECT_CALL(*observer, idle()).WillOnce(Invoke([&]() | ~~~~~~^~~~~~ 113 | { | ~ 114 | hub->unregister_interest(*observer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/shell/test_basic_idle_handler.cpp:108:35: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::BasicIdleHandler::SetUp()::<lambda(auto:47, auto:48)>; typename std::decay<_Tp>::type = {anonymous}::BasicIdleHandler::SetUp()::<lambda(auto:47, auto:48)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 108 | .WillRepeatedly(Invoke([this](auto observer, auto timeout) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 109 | { | ~ 110 | observers.insert(std::make_pair(timeout, observer)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/include/mir/test/doubles/mock_buffer_stream.h:67:43: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockBufferStream::MockBufferStream()::<lambda(const auto:47&)>; typename std::decay<_Tp>::type = mir::test::doubles::MockBufferStream::MockBufferStream()::<lambda(const auto:47&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 67 | .WillByDefault(testing::Invoke([&](auto const& callback){ frame_posted_callback = callback; })); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/include/mir/test/doubles/mock_surface.h:49:43: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockSurface::MockSurface()::<lambda(MirWindowFocusState)>; typename std::decay<_Tp>::type = mir::test::doubles::MockSurface::MockSurface()::<lambda(MirWindowFocusState)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 49 | .WillByDefault(testing::Invoke([this](MirWindowFocusState focus_state) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 50 | { | ~ 51 | BasicSurface::set_focus_state(focus_state); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 52 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/include/mir/test/doubles/mock_surface.h:54:43: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::doubles::MockSurface::MockSurface()::<lambda(const mir::geometry::Point&)>; typename std::decay<_Tp>::type = mir::test::doubles::MockSurface::MockSurface()::<lambda(const mir::geometry::Point&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 54 | .WillByDefault(testing::Invoke([this](geometry::Point const& top_left) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | { | ~ 56 | BasicSurface::move_to(top_left); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 57 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/shell/test_decoration_basic_decoration.cpp:171:34: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::DecorationBasicDecoration::SetUp()::<lambda(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&, const std::shared_ptr<mir::scene::SurfaceObserver>&, mir::Executor*)>; typename std::decay<_Tp>::type = {anonymous}::DecorationBasicDecoration::SetUp()::<lambda(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&, const std::shared_ptr<mir::scene::SurfaceObserver>&, mir::Executor*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 171 | .WillByDefault(Invoke([this]( | ~~~~~~^~~~~~~~ 172 | std::shared_ptr<ms::Session> const&, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | msh::SurfaceSpecification const& params, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | std::shared_ptr<ms::SurfaceObserver> const& observer, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | mir::Executor*) -> std::shared_ptr<ms::Surface> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | { | ~ 177 | creation_params = params; | ~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | decoration_surface.resize({params.width.value(), params.height.value()}); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | decoration_surface.register_interest(observer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | return mt::fake_shared(decoration_surface); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_surface_stack.cpp:431:36: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = const SurfaceStack_scene_observer_can_query_scene_within_surface_exists_notification_Test::TestBody()::<lambda()>&; std::decay_t<_Tp> = SurfaceStack_scene_observer_can_query_scene_within_surface_exists_notification_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 431 | .WillOnce(InvokeWithoutArgs(scene_query)); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_surface_stack.cpp:452:36: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = const SurfaceStack_scene_observer_can_async_query_scene_within_surface_exists_notification_Test::TestBody()::<lambda()>&; std::decay_t<_Tp> = SurfaceStack_scene_observer_can_async_query_scene_within_surface_exists_notification_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 452 | .WillOnce(InvokeWithoutArgs(async_scene_query)); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_surface_stack.cpp:469:36: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = const SurfaceStack_scene_observer_can_remove_surface_from_scene_within_surface_exists_notification_Test::TestBody()::<lambda()>&; std::decay_t<_Tp> = SurfaceStack_scene_observer_can_remove_surface_from_scene_within_surface_exists_notification_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 469 | .WillOnce(InvokeWithoutArgs(surface_removal)); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_surface_stack.cpp:701:36: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = const SurfaceStack_observer_can_trigger_state_change_within_notification_Test::TestBody()::<lambda()>&; std::decay_t<_Tp> = SurfaceStack_observer_can_trigger_state_change_within_notification_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 701 | .WillOnce(InvokeWithoutArgs(state_changer)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_surface_stack.cpp:702:36: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = const SurfaceStack_observer_can_trigger_state_change_within_notification_Test::TestBody()::<lambda()>&; std::decay_t<_Tp> = SurfaceStack_observer_can_trigger_state_change_within_notification_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 702 | .WillOnce(InvokeWithoutArgs(async_state_changer)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_surface_stack.cpp:729:37: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = const SurfaceStack_observer_can_remove_itself_within_notification_Test::TestBody()::<lambda()>&; std::decay_t<_Tp> = SurfaceStack_observer_can_remove_itself_within_notification_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 729 | .WillOnce(InvokeWithoutArgs(remove_observer)); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_basic_surface.cpp:424:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = BasicSurfaceTest_test_surface_visibility_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = BasicSurfaceTest_test_surface_visibility_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 424 | .WillByDefault(Invoke([&submitted_buffer] { return submitted_buffer; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_basic_surface.cpp:1481:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = BasicSurfaceTest_visibility_matches_produced_list_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = BasicSurfaceTest_visibility_matches_produced_list_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 1481 | .WillByDefault(Invoke([&stream1_visible] { return stream1_visible; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_basic_surface.cpp:1483:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = BasicSurfaceTest_visibility_matches_produced_list_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = BasicSurfaceTest_visibility_matches_produced_list_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 1483 | .WillByDefault(Invoke([&stream2_visible] { return stream2_visible; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/platforms/test_threaded_drm_event_handler.cpp:50:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ThreadedDRMEventHandlerTest::ThreadedDRMEventHandlerTest()::<lambda(auto:46, drmEventContextPtr)>; typename std::decay<_Tp>::type = ThreadedDRMEventHandlerTest::ThreadedDRMEventHandlerTest()::<lambda(auto:46, drmEventContextPtr)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 50 | Invoke( | ~~~~~~^ 51 | [this](auto drm_fd, drmEventContextPtr ctx) -> int | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 52 | { | ~ 53 | | 54 | EXPECT_THAT(ctx->version, Ge(3)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | EXPECT_THAT(ctx->page_flip_handler2, NotNull()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | if (!ctx->page_flip_handler2) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 57 | return -1; | ~~~~~~~~~~ 58 | | 59 | EventDetails event; | ~~~~~~~~~~~~~~~~~~~ 60 | { | ~ 61 | std::lock_guard lock{event_mutex}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 62 | if (expected_events.empty()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 63 | { | ~ 64 | ADD_FAILURE() << "drmHandleEvent called with no pending event"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 65 | return -1; | ~~~~~~~~~~ 66 | } | ~ 67 | event = expected_events.front(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | expected_events.pop_front(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | } | ~ 70 | | 71 | ctx->page_flip_handler2( | ~~~~~~~~~~~~~~~~~~~~~~~~ 72 | drm_fd, | ~~~~~~~ 73 | event.frame_no, | ~~~~~~~~~~~~~~~ 74 | event.tv_sec, | ~~~~~~~~~~~~~ 75 | event.tv_usec, | ~~~~~~~~~~~~~~ 76 | event.crtc_id, | ~~~~~~~~~~~~~~ 77 | const_cast<void*>(event.userdata)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 | | 79 | mock_drm.consume_event_on(device_node); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | return 0; | ~~~~~~~~~ 81 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_mediating_display_changer.cpp:68:34: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::MockDisplay::MockDisplay()::<lambda(auto:47&)>; typename std::decay<_Tp>::type = {anonymous}::MockDisplay::MockDisplay()::<lambda(auto:47&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 68 | .WillByDefault(Invoke([this](auto& conf) { config = conf.clone(); })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_mediating_display_changer.cpp:265:36: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = MediatingDisplayChangerTest_reapplies_old_config_when_applying_new_configuration_fails_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = MediatingDisplayChangerTest_reapplies_old_config_when_applying_new_configuration_fails_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 265 | .WillOnce(InvokeWithoutArgs([]() { BOOST_THROW_EXCEPTION(std::runtime_error{"Ducks!"}); })); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_mediating_display_changer.cpp:320:36: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = MediatingDisplayChangerTest_handles_error_when_applying_hardware_change_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = MediatingDisplayChangerTest_handles_error_when_applying_hardware_change_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 320 | .WillOnce(InvokeWithoutArgs([]() { BOOST_THROW_EXCEPTION(std::runtime_error{"Avocado!"}); })); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_mediating_display_changer.cpp:433:36: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = MediatingDisplayChangerTest_notifies_all_sessions_when_hardware_config_change_fails_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = MediatingDisplayChangerTest_notifies_all_sessions_when_hardware_config_change_fails_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 433 | .WillOnce(InvokeWithoutArgs([]() { BOOST_THROW_EXCEPTION(std::runtime_error{"Avocado!"}); })); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/renderers/gl/test_gl_renderer.cpp:132:43: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::GLRenderer::GLRenderer()::<lambda(auto:47&)>; typename std::decay<_Tp>::type = {anonymous}::GLRenderer::GLRenderer()::<lambda(auto:47&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 132 | .WillByDefault(testing::Invoke( | ~~~~~~~~~~~~~~~^ 133 | [](auto& factory) -> mg::gl::Program& | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | { | ~ 135 | static int unused = 1; | ~~~~~~~~~~~~~~~~~~~~~~ 136 | return factory.compile_fragment_shader(&unused, "extension code", "fragment code"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/renderers/gl/test_gl_renderer.cpp:346:40: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = GLRenderer_swaps_buffers_after_rendering_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = GLRenderer_swaps_buffers_after_rendering_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 346 | .WillRepeatedly(testing::Invoke([]() { return std::unique_ptr<mg::Framebuffer>(); })); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/input/test_key_repeat_dispatcher.cpp:216:56: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = KeyRepeatDispatcher_stops_repeat_on_device_removal_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = KeyRepeatDispatcher_stops_repeat_on_device_removal_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 216 | ON_CALL(*mock_alarm, cancel()).WillByDefault(Invoke([&](){alarm_canceled = true; return true;})); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/include/mir/test/doubles/mock_window_manager.h:36:64: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = std::shared_ptr<mir::scene::Surface> (&)(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&, const std::function<std::shared_ptr<mir::scene::Surface>(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&)>&); typename std::decay<_Tp>::type = std::shared_ptr<mir::scene::Surface> (*)(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&, const std::function<std::shared_ptr<mir::scene::Surface>(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&)>&)]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 36 | ON_CALL(*this, add_surface(_,_,_)).WillByDefault(Invoke(add_surface_default)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_abstract_shell.cpp:180:34: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::AbstractShell::SetUp()::<lambda()>; typename std::decay<_Tp>::type = {anonymous}::AbstractShell::SetUp()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 180 | .WillByDefault(Invoke( | ~~~~~~^ 181 | []() | ~~~~ 182 | { | ~ 183 | return mev::make_input_configure_event( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | 0ns, 0, mir_input_event_modifier_none, 0.0f, 0.0f, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 185 | std::vector<mev::InputDeviceState>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 186 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_abstract_shell.cpp:296:70: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = AbstractShell_create_surface_allows_window_manager_to_set_create_parameters_Test::TestBody()::<lambda(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&, const std::function<std::shared_ptr<mir::scene::Surface>(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&)>&)>; typename std::decay<_Tp>::type = AbstractShell_create_surface_allows_window_manager_to_set_create_parameters_Test::TestBody()::<lambda(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&, const std::function<std::shared_ptr<mir::scene::Surface>(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&)>&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 296 | EXPECT_CALL(*wm, add_surface(session, params, _)).WillOnce(Invoke( | ~~~~~~^ 297 | [&](std::shared_ptr<ms::Session> const& session, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | msh::SurfaceSpecification const&, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | std::function<std::shared_ptr<ms::Surface>(std::shared_ptr<ms::Session> const& session, msh::SurfaceSpecification const&)> const& build) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 300 | { return build(session, params); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_abstract_shell.cpp:315:70: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = AbstractShell_create_surface_allows_window_manager_to_enable_ssd_Test::TestBody()::<lambda(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&, const std::function<std::shared_ptr<mir::scene::Surface>(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&)>&)>; typename std::decay<_Tp>::type = AbstractShell_create_surface_allows_window_manager_to_enable_ssd_Test::TestBody()::<lambda(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&, const std::function<std::shared_ptr<mir::scene::Surface>(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&)>&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 315 | EXPECT_CALL(*wm, add_surface(session, params, _)).WillOnce(Invoke( | ~~~~~~^ 316 | [&](std::shared_ptr<ms::Session> const& session, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 317 | msh::SurfaceSpecification const& params, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 318 | std::function<std::shared_ptr<ms::Surface>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 319 | std::shared_ptr<ms::Session> const& session, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 320 | msh::SurfaceSpecification const&)> const& build) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 321 | { | ~ 322 | auto modified_params = params; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 323 | modified_params.server_side_decorated = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 324 | return build(session, modified_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 325 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_abstract_shell.cpp:341:70: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = AbstractShell_create_surface_allows_window_manager_to_disable_ssd_Test::TestBody()::<lambda(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&, const std::function<std::shared_ptr<mir::scene::Surface>(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&)>&)>; typename std::decay<_Tp>::type = AbstractShell_create_surface_allows_window_manager_to_disable_ssd_Test::TestBody()::<lambda(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&, const std::function<std::shared_ptr<mir::scene::Surface>(const std::shared_ptr<mir::scene::Session>&, const mir::shell::SurfaceSpecification&)>&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 341 | EXPECT_CALL(*wm, add_surface(session, params, _)).WillOnce(Invoke( | ~~~~~~^ 342 | [&](std::shared_ptr<ms::Session> const& session, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 343 | msh::SurfaceSpecification const& params, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 344 | std::function<std::shared_ptr<ms::Surface>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 345 | std::shared_ptr<ms::Session> const& session, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 346 | msh::SurfaceSpecification const&)> const& build) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 347 | { | ~ 348 | auto modified_params = params; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | modified_params.server_side_decorated = false; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 350 | return build(session, modified_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 351 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_abstract_shell.cpp:1146:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = SsdSizeConstraintsTest_adjusts_size_constraints_when_ssd_enabled_Test::TestBody()::<lambda(const mir::geometry::Size&, MirWindowType, MirWindowState)>; typename std::decay<_Tp>::type = SsdSizeConstraintsTest_adjusts_size_constraints_when_ssd_enabled_Test::TestBody()::<lambda(const mir::geometry::Size&, MirWindowType, MirWindowState)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 1146 | Invoke([padding](geom::Size const& content, MirWindowType, MirWindowState) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | { return geom::Size{content.width + padding.width, content.height + padding.height}; })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_abstract_shell.cpp:1151:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = SsdSizeConstraintsTest_adjusts_size_constraints_when_ssd_enabled_Test::TestBody()::<lambda(auto:48, auto:49, auto:50)>; typename std::decay<_Tp>::type = SsdSizeConstraintsTest_adjusts_size_constraints_when_ssd_enabled_Test::TestBody()::<lambda(auto:48, auto:49, auto:50)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 1151 | .WillOnce(Invoke( | ~~~~~~^ 1152 | [&](auto, auto spec, auto) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 1153 | { | ~ 1154 | captured_spec = spec; | ~~~~~~~~~~~~~~~~~~~~~ 1155 | return std::make_shared<NiceMock<mtd::MockSurface>>(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1156 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/scene/test_abstract_shell.cpp:1232:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = SsdSizeConstraintsTest_does_not_adjust_size_constraints_when_ssd_disabled_Test::TestBody()::<lambda(auto:51, auto:52, auto:53)>; typename std::decay<_Tp>::type = SsdSizeConstraintsTest_does_not_adjust_size_constraints_when_ssd_disabled_Test::TestBody()::<lambda(auto:51, auto:52, auto:53)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 1232 | .WillOnce(Invoke( | ~~~~~~^ 1233 | [&](auto, auto spec, auto) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 1234 | { | ~ 1235 | captured_spec = spec; | ~~~~~~~~~~~~~~~~~~~~~ 1236 | return std::make_shared<NiceMock<mtd::MockSurface>>(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1237 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/input/test_touchspot_controller.cpp:101:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::TestTouchspotController::TestTouchspotController()::<lambda(auto:46, auto:47)>; typename std::decay<_Tp>::type = {anonymous}::TestTouchspotController::TestTouchspotController()::<lambda(auto:46, auto:47)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 101 | Invoke([this](auto size, auto pf) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 102 | { | ~ 103 | return allocator->mtd::StubBufferAllocator::alloc_software_buffer(size, pf); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 104 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/input/test_touchspot_controller.cpp:127:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = TestTouchspotController_handles_stride_mismatch_in_buffer_Test::TestBody()::<lambda(auto:48, auto:49)>; typename std::decay<_Tp>::type = TestTouchspotController_handles_stride_mismatch_in_buffer_Test::TestBody()::<lambda(auto:48, auto:49)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 127 | Invoke( | ~~~~~~^ 128 | [](auto size, auto pf) | ~~~~~~~~~~~~~~~~~~~~~~ 129 | { | ~ 130 | mg::BufferProperties properties{size, pf, mg::BufferUsage::software}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 131 | return std::make_shared<mtd::StubBuffer>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 132 | properties, | ~~~~~~~~~~~ 133 | geom::Stride{size.width.as_uint32_t() * MIR_BYTES_PER_PIXEL(pf) + 29}); // Return a stride != width | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/input/test_touchspot_controller.cpp:273:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = TestTouchspotController_renderable_has_normal_orientation_Test::TestBody()::<lambda(auto:50, auto:51)>; typename std::decay<_Tp>::type = TestTouchspotController_renderable_has_normal_orientation_Test::TestBody()::<lambda(auto:50, auto:51)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 273 | Invoke( | ~~~~~~^ 274 | [](auto size, auto pf) | ~~~~~~~~~~~~~~~~~~~~~~ 275 | { | ~ 276 | mg::BufferProperties properties{size, pf, mg::BufferUsage::software}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 277 | return std::make_shared<mtd::StubBuffer>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | properties, | ~~~~~~~~~~~ 279 | geom::Stride{size.width.as_uint32_t() * MIR_BYTES_PER_PIXEL(pf) + 29}); // Return a stride != width | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/input/test_default_input_device_hub.cpp:93:34: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = InputDeviceHubTest::capture_input_sink(testing::NiceMock<mir::test::doubles::MockInputDevice>&, mir::input::InputSink*&, mir::input::EventBuilder*&)::<lambda(mir::input::InputSink*, mir::input::EventBuilder*)>; typename std::decay<_Tp>::type = InputDeviceHubTest::capture_input_sink(testing::NiceMock<mir::test::doubles::MockInputDevice>&, mir::input::InputSink*&, mir::input::EventBuilder*&)::<lambda(mir::input::InputSink*, mir::input::EventBuilder*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 93 | .WillByDefault(Invoke([&sink,&builder](mi::InputSink* input_sink, mi::EventBuilder* event_builder) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | { | ~ 95 | sink = input_sink; | ~~~~~~~~~~~~~~~~~~ 96 | builder = event_builder; | ~~~~~~~~~~~~~~~~~~~~~~~~ 97 | } | ~ 98 | )); | ~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_software_cursor.cpp:101:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::MockBufferAllocator::MockBufferAllocator()::<lambda(auto:46, auto:47)>; typename std::decay<_Tp>::type = {anonymous}::MockBufferAllocator::MockBufferAllocator()::<lambda(auto:46, auto:47)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 101 | Invoke( | ~~~~~~^ 102 | [this](auto sz, auto pf) | ~~~~~~~~~~~~~~~~~~~~~~~~ 103 | { | ~ 104 | return this->mtd::StubBufferAllocator::alloc_software_buffer(sz, pf); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 105 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_software_cursor.cpp:162:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = SoftwareCursor_tolerates_being_hidden_while_being_shown_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = SoftwareCursor_tolerates_being_hidden_while_being_shown_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 162 | .WillOnce(Invoke([&] | ~~~~~~^~~~ 163 | { | ~ 164 | cursor.hide(); | ~~~~~~~~~~~~~~ 165 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_software_cursor.cpp:181:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = SoftwareCursor_tolerates_being_hidden_while_being_reshown_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = SoftwareCursor_tolerates_being_hidden_while_being_reshown_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 181 | .WillOnce(Invoke([&] | ~~~~~~^~~~ 182 | { | ~ 183 | cursor.hide(); | ~~~~~~~~~~~~~~ 184 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_software_cursor.cpp:334:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = SoftwareCursor_handles_argb_8888_cursor_surface_Test::TestBody()::<lambda(auto:48, auto:49)>; typename std::decay<_Tp>::type = SoftwareCursor_handles_argb_8888_cursor_surface_Test::TestBody()::<lambda(auto:48, auto:49)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 334 | Invoke( | ~~~~~~^ 335 | [this, &cursor_buffer](auto sz, auto pf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 336 | { | ~ 337 | auto buffer = mock_buffer_allocator.mtd::StubBufferAllocator::alloc_software_buffer(sz, pf); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 338 | cursor_buffer = buffer; | ~~~~~~~~~~~~~~~~~~~~~~~ 339 | return buffer; | ~~~~~~~~~~~~~~ 340 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_software_cursor.cpp:387:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = SoftwareCursor_handles_argb_8888_buffer_with_stride_Test::TestBody()::<lambda(auto:50, auto:51)>; typename std::decay<_Tp>::type = SoftwareCursor_handles_argb_8888_buffer_with_stride_Test::TestBody()::<lambda(auto:50, auto:51)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 387 | Invoke( | ~~~~~~^ 388 | [&cursor_buffer](auto sz, auto pf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 389 | { | ~ 390 | // Set a stride that's not a multiple of the pixel width, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 391 | // for maximum testing. | ~~~~~~~~~~~~~~~~~~~~~~~ 392 | geom::Stride const stride{ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 393 | sz.width.as_uint32_t() * MIR_BYTES_PER_PIXEL(pf) + 41 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 394 | }; | ~~ 395 | auto buffer = std::make_shared<mtd::StubBuffer>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 396 | mg::BufferProperties{ | ~~~~~~~~~~~~~~~~~~~~~ 397 | sz, | ~~~ 398 | pf, | ~~~ 399 | mg::BufferUsage::hardware | ~~~~~~~~~~~~~~~~~~~~~~~~~ 400 | }, | ~~ 401 | stride); | ~~~~~~~~ 402 | cursor_buffer = buffer; | ~~~~~~~~~~~~~~~~~~~~~~~ 403 | return buffer; | ~~~~~~~~~~~~~~ 404 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_shm_buffer.cpp:358:41: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = ShmBufferTest_texture_is_destroyed_on_thread_with_current_context_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = ShmBufferTest_texture_is_destroyed_on_thread_with_current_context_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 358 | .WillByDefault(InvokeWithoutArgs( | ~~~~~~~~~~~~~~~~~^ 359 | []() | ~~~~ 360 | { | ~ 361 | EXPECT_THAT( | ~~~~~~~~~~~~ 362 | eglGetCurrentContext(), | ~~~~~~~~~~~~~~~~~~~~~~~ 363 | Ne(EGL_NO_CONTEXT)); | ~~~~~~~~~~~~~~~~~~~~ 364 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:175:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_each_display_in_configuration_has_unique_id_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_each_display_in_configuration_has_unique_id_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 175 | Invoke( | ~~~~~~^ 176 | [conf]() | ~~~~~~~~ 177 | { | ~ 178 | return std::make_unique<mtd::StubDisplayConfig>(conf); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 179 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:225:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_configuration_is_union_of_all_displays_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_configuration_is_union_of_all_displays_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 225 | Invoke( | ~~~~~~^ 226 | [conf]() | ~~~~~~~~ 227 | { | ~ 228 | return std::make_unique<mtd::StubDisplayConfig>(conf); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:347:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_apply_if_confguration_preserves_display_buffers_succeeds_if_all_succeed_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_apply_if_confguration_preserves_display_buffers_succeeds_if_all_succeed_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 347 | Invoke( | ~~~~~~^ 348 | [&gen, card1]() | ~~~~~~~~~~~~~~~ 349 | { | ~ 350 | return std::make_unique<mtd::StubDisplayConfig>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 351 | std::vector<mg::DisplayConfigurationOutput>{ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | gen.generate_output(card1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | gen.generate_output(card1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | }); | ~~~ 355 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:358:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_apply_if_confguration_preserves_display_buffers_succeeds_if_all_succeed_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_apply_if_confguration_preserves_display_buffers_succeeds_if_all_succeed_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 358 | Invoke( | ~~~~~~^ 359 | [&gen, card2]() | ~~~~~~~~~~~~~~~ 360 | { | ~ 361 | return std::make_unique<mtd::StubDisplayConfig>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 362 | std::vector<mg::DisplayConfigurationOutput>{ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 363 | gen.generate_output(card2) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 364 | }); | ~~~ 365 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:394:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_apply_if_confguration_preserves_display_buffers_fails_if_any_fail_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_apply_if_confguration_preserves_display_buffers_fails_if_any_fail_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 394 | Invoke( | ~~~~~~^ 395 | [&gen, card1]() | ~~~~~~~~~~~~~~~ 396 | { | ~ 397 | return std::make_unique<mtd::StubDisplayConfig>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 398 | std::vector<mg::DisplayConfigurationOutput>{ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 399 | gen.generate_output(card1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 400 | gen.generate_output(card1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 401 | }); | ~~~ 402 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:405:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_apply_if_confguration_preserves_display_buffers_fails_if_any_fail_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_apply_if_confguration_preserves_display_buffers_fails_if_any_fail_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 405 | Invoke( | ~~~~~~^ 406 | [&gen, card2]() | ~~~~~~~~~~~~~~~ 407 | { | ~ 408 | return std::make_unique<mtd::StubDisplayConfig>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 409 | std::vector<mg::DisplayConfigurationOutput>{ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 410 | gen.generate_output(card2) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 411 | }); | ~~~ 412 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:454:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_apply_if_configuration_preserves_display_buffers_fails_to_previous_configuration_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_apply_if_configuration_preserves_display_buffers_fails_to_previous_configuration_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 454 | Invoke( | ~~~~~~^ 455 | [&d1_conf]() | ~~~~~~~~~~~~ 456 | { | ~ 457 | return d1_conf->clone(); | ~~~~~~~~~~~~~~~~~~~~~~~~ 458 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:461:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_apply_if_configuration_preserves_display_buffers_fails_to_previous_configuration_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_apply_if_configuration_preserves_display_buffers_fails_to_previous_configuration_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 461 | Invoke( | ~~~~~~^ 462 | [&d2_conf]() | ~~~~~~~~~~~~ 463 | { | ~ 464 | return d2_conf->clone(); | ~~~~~~~~~~~~~~~~~~~~~~~~ 465 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:470:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_apply_if_configuration_preserves_display_buffers_fails_to_previous_configuration_Test::TestBody()::<lambda(const auto:51&)>; typename std::decay<_Tp>::type = MultiplexingDisplay_apply_if_configuration_preserves_display_buffers_fails_to_previous_configuration_Test::TestBody()::<lambda(const auto:51&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 470 | Invoke( | ~~~~~~^ 471 | [&d1_conf](auto const& config) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 472 | { | ~ 473 | auto real_config = dynamic_cast<mtd::StubDisplayConfig const&>(config); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 474 | d1_conf->outputs = real_config.outputs; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 475 | return true; | ~~~~~~~~~~~~ 476 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:525:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_apply_if_configuration_preserves_display_buffers_throws_on_unrecoverable_error_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_apply_if_configuration_preserves_display_buffers_throws_on_unrecoverable_error_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 525 | Invoke( | ~~~~~~^ 526 | [&d1_conf]() | ~~~~~~~~~~~~ 527 | { | ~ 528 | return d1_conf->clone(); | ~~~~~~~~~~~~~~~~~~~~~~~~ 529 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:532:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_apply_if_configuration_preserves_display_buffers_throws_on_unrecoverable_error_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_apply_if_configuration_preserves_display_buffers_throws_on_unrecoverable_error_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 532 | Invoke( | ~~~~~~^ 533 | [&d2_conf]() | ~~~~~~~~~~~~ 534 | { | ~ 535 | return d2_conf->clone(); | ~~~~~~~~~~~~~~~~~~~~~~~~ 536 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:541:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_apply_if_configuration_preserves_display_buffers_throws_on_unrecoverable_error_Test::TestBody()::<lambda(const auto:52&)>; typename std::decay<_Tp>::type = MultiplexingDisplay_apply_if_configuration_preserves_display_buffers_throws_on_unrecoverable_error_Test::TestBody()::<lambda(const auto:52&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 541 | Invoke( | ~~~~~~^ 542 | [&d1_conf](auto const& config) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 543 | { | ~ 544 | auto real_config = dynamic_cast<mtd::StubDisplayConfig const&>(config); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | d1_conf->outputs = real_config.outputs; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 546 | return true; // The first will succeed, changing state… | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 547 | })) | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:636:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_applies_initial_display_configuration_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_applies_initial_display_configuration_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 636 | Invoke( | ~~~~~~^ 637 | [&d1_conf]() | ~~~~~~~~~~~~ 638 | { | ~ 639 | return d1_conf->clone(); | ~~~~~~~~~~~~~~~~~~~~~~~~ 640 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:652:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_applies_initial_display_configuration_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_applies_initial_display_configuration_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 652 | Invoke( | ~~~~~~^ 653 | [&d2_conf]() | ~~~~~~~~~~~~ 654 | { | ~ 655 | return d2_conf->clone(); | ~~~~~~~~~~~~~~~~~~~~~~~~ 656 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:750:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_sets_output_names_to_unique_values_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_sets_output_names_to_unique_values_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 750 | Invoke( | ~~~~~~^ 751 | [conf]() | ~~~~~~~~ 752 | { | ~ 753 | return std::make_unique<mtd::StubDisplayConfig>(conf); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 754 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:803:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_output_names_begin_with_connector_type_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_output_names_begin_with_connector_type_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 803 | Invoke( | ~~~~~~^ 804 | [conf]() | ~~~~~~~~ 805 | { | ~ 806 | return std::make_unique<mtd::StubDisplayConfig>(conf); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 807 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:846:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_output_names_are_bucketed_by_type_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_output_names_are_bucketed_by_type_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 846 | Invoke( | ~~~~~~^ 847 | [&display_conf]() | ~~~~~~~~~~~~~~~~~ 848 | { | ~ 849 | return std::make_unique<mtd::StubDisplayConfig>(display_conf); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 850 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:888:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_output_name_does_not_contain_card_id_when_only_one_card_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_output_name_does_not_contain_card_id_when_only_one_card_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 888 | Invoke( | ~~~~~~^ 889 | [&display_conf]() | ~~~~~~~~~~~~~~~~~ 890 | { | ~ 891 | return std::make_unique<mtd::StubDisplayConfig>(display_conf); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 892 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/graphics/test_multiplexing_display.cpp:945:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = MultiplexingDisplay_when_additional_cards_exist_their_outputs_are_numbered_by_card_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = MultiplexingDisplay_when_additional_cards_exist_their_outputs_are_numbered_by_card_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 945 | Invoke( | ~~~~~~^ 946 | [conf]() | ~~~~~~~~ 947 | { | ~ 948 | return std::make_unique<mtd::StubDisplayConfig>(conf); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 949 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/dispatch/test_threaded_dispatcher.cpp:168:61: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ThreadedDispatcherTest_only_calls_dispatch_with_remote_closed_when_relevant_Test::TestBody()::<lambda(mir::dispatch::FdEvents)>; typename std::decay<_Tp>::type = ThreadedDispatcherTest_only_calls_dispatch_with_remote_closed_when_relevant_Test::TestBody()::<lambda(mir::dispatch::FdEvents)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 168 | ON_CALL(*dispatchable, dispatch(_)).WillByDefault(Invoke([=](md::FdEvents events) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 169 | { | ~ 170 | if (events & md::FdEvent::writable) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | { | ~ 172 | dispatched_writable->raise(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | } | ~ 174 | if (events & md::FdEvent::remote_closed) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | { | ~ 176 | dispatched_closed->raise(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | } | ~ 178 | return true; | ~~~~~~~~~~~~ 179 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/console/test_minimal_console_services.cpp:100:30: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = MinimalConsoleServicesTest::set_expectations_for_uevent_probe_of_drm(int, const char*)::<lambda()>; std::decay_t<_Tp> = MinimalConsoleServicesTest::set_expectations_for_uevent_probe_of_drm(int, const char*)::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 100 | InvokeWithoutArgs([stub_fd]() { return stub_fd; })); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/frontend_wayland/test_screencopy_v1_damage_tracker.cpp:78:69: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::DamageTrackerV1::SetUp()::<lambda(const std::shared_ptr<mir::scene::Observer>&)>; typename std::decay<_Tp>::type = {anonymous}::DamageTrackerV1::SetUp()::<lambda(const std::shared_ptr<mir::scene::Observer>&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 78 | ON_CALL(surface_stack, add_observer(_)).WillByDefault(Invoke([this] | ~~~~~~^~~~~~~ 79 | (std::shared_ptr<ms::Observer> const& observer) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | { | ~ 81 | scene_observer = observer; | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 82 | observer->surface_exists(mt::fake_shared(surface)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 83 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/frontend_wayland/test_desktop_file_manager.cpp:90:43: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DesktopFileManager::SetUp()::<lambda()>; typename std::decay<_Tp>::type = DesktopFileManager::SetUp()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 90 | .WillByDefault(testing::Invoke([this]() { | ~~~~~~~~~~~~~~~^~~~~~~~~~~ 91 | return PID; | ~~~~~~~~~~~ 92 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/frontend_wayland/test_desktop_file_manager.cpp:95:43: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DesktopFileManager::SetUp()::<lambda()>; typename std::decay<_Tp>::type = DesktopFileManager::SetUp()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 95 | .WillByDefault(testing::Invoke([this]() { return APPLICATION_ID; })); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/frontend_wayland/test_desktop_file_manager.cpp:98:43: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DesktopFileManager::SetUp()::<lambda()>; typename std::decay<_Tp>::type = DesktopFileManager::SetUp()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 98 | .WillByDefault(testing::Invoke([this]() { | ~~~~~~~~~~~~~~~^~~~~~~~~~~ 99 | return session; | ~~~~~~~~~~~~~~~ 100 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/frontend_wayland/test_desktop_file_manager.cpp:118:39: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DesktopFileManager_can_find_gnome_terminal_server_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = DesktopFileManager_can_find_gnome_terminal_server_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 118 | .WillByDefault(testing::Invoke([]() { return "gnome-terminal-server"; })); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/frontend_wayland/test_desktop_file_manager.cpp:138:39: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DesktopFileManager_can_find_app_when_app_id_matches_despite_being_uppercase_Test::TestBody()::<lambda()>; typename std::decay<_Tp>::type = DesktopFileManager_can_find_app_when_app_id_matches_despite_being_uppercase_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 138 | .WillByDefault(testing::Invoke([uppercase_app_id]() { return uppercase_app_id; })); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_default_server_configuration.cpp:52:29: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DefaultServerConfigurationTest::DefaultServerConfigurationTest()::<lambda(const char*)>; typename std::decay<_Tp>::type = DefaultServerConfigurationTest::DefaultServerConfigurationTest()::<lambda(const char*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 52 | .WillOnce(Invoke( | ~~~~~~^ 53 | [this](char const*) -> boost::any const& | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 54 | { | ~ 55 | return any_off; | ~~~~~~~~~~~~~~~ 56 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_default_server_configuration.cpp:58:29: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = DefaultServerConfigurationTest::DefaultServerConfigurationTest()::<lambda(const char*)>; typename std::decay<_Tp>::type = DefaultServerConfigurationTest::DefaultServerConfigurationTest()::<lambda(const char*)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 58 | .WillOnce(Invoke( | ~~~~~~^ 59 | [this](char const*) -> boost::any const& | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | { | ~ 61 | return vt_switching; | ~~~~~~~~~~~~~~~~~~~~ 62 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/console/test_linux_virtual_terminal.cpp:930:42: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = {anonymous}::set_expectations_for_uevent_probe(MockVTFileOperations&, int, int, const char*)::<lambda()>; std::decay_t<_Tp> = {anonymous}::set_expectations_for_uevent_probe(MockVTFileOperations&, int, int, const char*)::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 930 | .WillRepeatedly(InvokeWithoutArgs( | ~~~~~~~~~~~~~~~~~^ 931 | [uevent]() { return uevent->fd(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1507:40: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = LinuxVirtualTerminalTest_failure_to_revoke_on_switch_away_is_not_fatal_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = LinuxVirtualTerminalTest_failure_to_revoke_on_switch_away_is_not_fatal_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 1507 | .WillOnce(InvokeWithoutArgs([]() { errno = EINVAL; return -1; })); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1614:41: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = LinuxVirtualTerminalTest_claims_drm_master_on_vt_switch_to_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = LinuxVirtualTerminalTest_claims_drm_master_on_vt_switch_to_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 1614 | .WillByDefault(InvokeWithoutArgs( | ~~~~~~~~~~~~~~~~~^ 1615 | [&device_one_master]() | ~~~~~~~~~~~~~~~~~~~~~~ 1616 | { | ~ 1617 | device_one_master = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~ 1618 | return 0; | ~~~~~~~~~ 1619 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1621:41: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = LinuxVirtualTerminalTest_claims_drm_master_on_vt_switch_to_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = LinuxVirtualTerminalTest_claims_drm_master_on_vt_switch_to_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 1621 | .WillByDefault(InvokeWithoutArgs( | ~~~~~~~~~~~~~~~~~^ 1622 | [&device_one_master]() | ~~~~~~~~~~~~~~~~~~~~~~ 1623 | { | ~ 1624 | device_one_master = false; | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 1625 | return 0; | ~~~~~~~~~ 1626 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1632:41: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = LinuxVirtualTerminalTest_claims_drm_master_on_vt_switch_to_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = LinuxVirtualTerminalTest_claims_drm_master_on_vt_switch_to_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 1632 | .WillByDefault(InvokeWithoutArgs( | ~~~~~~~~~~~~~~~~~^ 1633 | [&device_two_master]() | ~~~~~~~~~~~~~~~~~~~~~~ 1634 | { | ~ 1635 | device_two_master = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~ 1636 | return 0; | ~~~~~~~~~ 1637 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1639:41: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = LinuxVirtualTerminalTest_claims_drm_master_on_vt_switch_to_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = LinuxVirtualTerminalTest_claims_drm_master_on_vt_switch_to_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 1639 | .WillByDefault(InvokeWithoutArgs( | ~~~~~~~~~~~~~~~~~^ 1640 | [&device_two_master]() | ~~~~~~~~~~~~~~~~~~~~~~ 1641 | { | ~ 1642 | device_two_master = false; | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 1643 | return 0; | ~~~~~~~~~ 1644 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1750:42: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = LinuxVirtualTerminalTest_input_device_gets_new_fd_on_vt_switch_to_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = LinuxVirtualTerminalTest_input_device_gets_new_fd_on_vt_switch_to_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 1750 | .WillRepeatedly(InvokeWithoutArgs( | ~~~~~~~~~~~~~~~~~^ 1751 | []() | ~~~~ 1752 | { | ~ 1753 | return open("/dev/null", O_RDONLY | O_CLOEXEC); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1754 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1756:42: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = LinuxVirtualTerminalTest_input_device_gets_new_fd_on_vt_switch_to_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = LinuxVirtualTerminalTest_input_device_gets_new_fd_on_vt_switch_to_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 1756 | .WillRepeatedly(InvokeWithoutArgs( | ~~~~~~~~~~~~~~~~~^ 1757 | []() | ~~~~ 1758 | { | ~ 1759 | return open("/dev/null", O_RDONLY | O_CLOEXEC); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1760 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/compositor/test_basic_screen_shooter.cpp:217:64: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = BasicScreenShooter_throw_in_scene_elements_for_causes_graceful_failure_Test::TestBody()::<lambda(auto:56)>; typename std::decay<_Tp>::type = BasicScreenShooter_throw_in_scene_elements_for_causes_graceful_failure_Test::TestBody()::<lambda(auto:56)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 217 | ON_CALL(*scene, scene_elements_for(_)).WillByDefault(Invoke([](auto) -> mc::SceneElementSequence | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | { | ~ 219 | throw std::runtime_error{"throw in scene_elements_for()!"}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_shared_library_prober.cpp:199:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = SharedLibraryProber_logs_failure_for_load_failure_Test::TestBody()::<lambda(const auto:46&)>; typename std::decay<_Tp>::type = SharedLibraryProber_logs_failure_for_load_failure_Test::TestBody()::<lambda(const auto:46&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 199 | .WillByDefault(Invoke([&probing_map](auto const& filename) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | { | ~ 201 | probing_map[filename.filename().native()] = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 202 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_shared_library_prober.cpp:204:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = SharedLibraryProber_logs_failure_for_load_failure_Test::TestBody()::<lambda(const auto:47&, const auto:48&)>; typename std::decay<_Tp>::type = SharedLibraryProber_logs_failure_for_load_failure_Test::TestBody()::<lambda(const auto:47&, const auto:48&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 204 | .WillByDefault(Invoke([&probing_map](auto const& filename, auto const&) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | { | ~ 206 | probing_map[filename.filename().native()] = false; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_shared_library_prober.cpp:232:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = SharedLibraryProber_does_not_log_failure_on_success_Test::TestBody()::<lambda(const auto:49&)>; typename std::decay<_Tp>::type = SharedLibraryProber_does_not_log_failure_on_success_Test::TestBody()::<lambda(const auto:49&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 232 | .WillByDefault(Invoke([&probing_map](auto const& filename) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | { | ~ 234 | probing_map[filename.filename().native()] = true; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_shared_library_prober.cpp:237:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = SharedLibraryProber_does_not_log_failure_on_success_Test::TestBody()::<lambda(const auto:50&, const auto:51&)>; typename std::decay<_Tp>::type = SharedLibraryProber_does_not_log_failure_on_success_Test::TestBody()::<lambda(const auto:50&, const auto:51&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 237 | .WillByDefault(Invoke([&probing_map](auto const& filename, auto const&) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | probing_map[filename.filename().native()] = false; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 240 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:306:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_can_remove_observer_from_callback_with_threaded_executor_Test::TestBody()::<lambda(auto:61)>; typename std::decay<_Tp>::type = ObserverMultiplexer_can_remove_observer_from_callback_with_threaded_executor_Test::TestBody()::<lambda(auto:61)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 306 | .WillOnce(Invoke( | ~~~~~~^ 307 | [observer_one = observer_one.get(), &multiplexer, &value](auto) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | { | ~ 309 | multiplexer.unregister_interest(*observer_one); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | multiplexer.observation_made(value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:334:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_can_remove_observer_from_callback_with_immediate_executor_Test::TestBody()::<lambda(auto:62)>; typename std::decay<_Tp>::type = ObserverMultiplexer_can_remove_observer_from_callback_with_immediate_executor_Test::TestBody()::<lambda(auto:62)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 334 | .WillOnce(Invoke( | ~~~~~~^ 335 | [observer_one = observer_one.get(), &multiplexer, &value](auto) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 336 | { | ~ 337 | multiplexer.unregister_interest(*observer_one); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 338 | multiplexer.observation_made(value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 339 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:360:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_can_remove_observer_from_recursive_callback_with_immediate_executor_Test::TestBody()::<lambda(auto:63)>; typename std::decay<_Tp>::type = ObserverMultiplexer_can_remove_observer_from_recursive_callback_with_immediate_executor_Test::TestBody()::<lambda(auto:63)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 360 | .WillOnce(Invoke( | ~~~~~~^ 361 | [&](auto) | ~~~~~~~~~ 362 | { | ~ 363 | multiplexer.observation_made(value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 364 | })) | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:365:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_can_remove_observer_from_recursive_callback_with_immediate_executor_Test::TestBody()::<lambda(auto:64)>; typename std::decay<_Tp>::type = ObserverMultiplexer_can_remove_observer_from_recursive_callback_with_immediate_executor_Test::TestBody()::<lambda(auto:64)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 365 | .WillOnce(Invoke( | ~~~~~~^ 366 | [&](auto) | ~~~~~~~~~ 367 | { | ~ 368 | multiplexer.unregister_interest(*observer_one); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 369 | multiplexer.observation_made(value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 370 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:391:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_observer_not_called_after_unregistered_from_other_observer_Test::TestBody()::<lambda(auto:65)>; typename std::decay<_Tp>::type = ObserverMultiplexer_observer_not_called_after_unregistered_from_other_observer_Test::TestBody()::<lambda(auto:65)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 391 | .WillOnce(Invoke( | ~~~~~~^ 392 | [observer_two = observer_two.get(), &multiplexer](auto) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 393 | { | ~ 394 | multiplexer.unregister_interest(*observer_two); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 395 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:419:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_multiple_threads_can_simultaneously_make_observations_Test::TestBody()::<lambda(const auto:66&)>; typename std::decay<_Tp>::type = ObserverMultiplexer_multiple_threads_can_simultaneously_make_observations_Test::TestBody()::<lambda(const auto:66&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 419 | Invoke( | ~~~~~~^ 420 | [&values, &values_seen](auto const& value) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 421 | { | ~ 422 | for (auto i = 0u; i < values.size(); ++i) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 423 | { | ~ 424 | if (value == values[i]) | ~~~~~~~~~~~~~~~~~~~~~~~ 425 | { | ~ 426 | values_seen[i] = true; | ~~~~~~~~~~~~~~~~~~~~~~ 427 | } | ~ 428 | } | ~ 429 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:470:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_multiple_threads_registering_unregistering_and_observing_Test::TestBody()::<lambda(const std::string&)>; typename std::decay<_Tp>::type = ObserverMultiplexer_multiple_threads_registering_unregistering_and_observing_Test::TestBody()::<lambda(const std::string&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 470 | Invoke( | ~~~~~~^ 471 | [&multiplexer, observer_two](std::string const& value) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 472 | { | ~ 473 | if (!value.compare("3")) | ~~~~~~~~~~~~~~~~~~~~~~~~ 474 | { | ~ 475 | multiplexer.unregister_interest(*observer_two); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 476 | } | ~ 477 | if (!value.compare("5")) | ~~~~~~~~~~~~~~~~~~~~~~~~ 478 | { | ~ 479 | multiplexer.register_interest(observer_two); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 480 | } | ~ 481 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:484:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_multiple_threads_registering_unregistering_and_observing_Test::TestBody()::<lambda(const std::string&)>; typename std::decay<_Tp>::type = ObserverMultiplexer_multiple_threads_registering_unregistering_and_observing_Test::TestBody()::<lambda(const std::string&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 484 | Invoke( | ~~~~~~^ 485 | [&multiplexer, observer_two](std::string const& value) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 486 | { | ~ 487 | if (!value.compare("8")) | ~~~~~~~~~~~~~~~~~~~~~~~~ 488 | { | ~ 489 | multiplexer.unregister_interest(*observer_two); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | } | ~ 491 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:533:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_multiple_threads_unregistering_same_observer_is_safe_Test::TestBody()::<lambda(auto:67)>; typename std::decay<_Tp>::type = ObserverMultiplexer_multiple_threads_unregistering_same_observer_is_safe_Test::TestBody()::<lambda(auto:67)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 533 | Invoke( | ~~~~~~^ 534 | [&multiplexer, observer_two, &call_count](auto) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 535 | { | ~ 536 | ++call_count; | ~~~~~~~~~~~~~ 537 | multiplexer.unregister_interest(*observer_two); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 538 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:541:30: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_multiple_threads_unregistering_same_observer_is_safe_Test::TestBody()::<lambda(auto:68)>; typename std::decay<_Tp>::type = ObserverMultiplexer_multiple_threads_unregistering_same_observer_is_safe_Test::TestBody()::<lambda(auto:68)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 541 | .WillByDefault(Invoke([&victim_called](auto) { victim_called = true; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:583:34: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_registering_is_threadsafe_Test::TestBody()::<lambda(auto:69)>; typename std::decay<_Tp>::type = ObserverMultiplexer_registering_is_threadsafe_Test::TestBody()::<lambda(auto:69)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 583 | .WillByDefault(Invoke([notified = &observer_notified[i]](auto) { *notified = true; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:627:34: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_unregistering_is_threadsafe_Test::TestBody()::<lambda(auto:70)>; typename std::decay<_Tp>::type = ObserverMultiplexer_unregistering_is_threadsafe_Test::TestBody()::<lambda(auto:70)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 627 | .WillByDefault(Invoke([notified = &observer_notified[i]](auto) { *notified = true; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:673:36: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_can_trigger_observers_from_observers_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = ObserverMultiplexer_can_trigger_observers_from_observers_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 673 | .WillOnce(InvokeWithoutArgs([&multiplexer]() { multiplexer.observation_made(second_observation); })); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:695:36: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_can_trigger_observer_during_observation_from_other_thread_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = ObserverMultiplexer_can_trigger_observer_during_observation_from_other_thread_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 695 | .WillOnce(InvokeWithoutArgs([&]() | ~~~~~~~~~~~~~~~~~^~~~~~ 696 | { | ~ 697 | mt::AutoJoinThread([&]() | ~~~~~~~~~~~~~~~~~~~~~~~~ 698 | { | ~ 699 | multiplexer.observation_made(second_observation); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 700 | }); | ~~~ 701 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:722:36: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_can_trigger_observer_during_observation_from_other_thread_with_immediate_executor_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = ObserverMultiplexer_can_trigger_observer_during_observation_from_other_thread_with_immediate_executor_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 722 | .WillOnce(InvokeWithoutArgs([&]() | ~~~~~~~~~~~~~~~~~^~~~~~ 723 | { | ~ 724 | mt::AutoJoinThread([&]() | ~~~~~~~~~~~~~~~~~~~~~~~~ 725 | { | ~ 726 | multiplexer.observation_made(second_observation); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 727 | }); | ~~~ 728 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:748:36: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_can_trigger_single_observer_during_single_observer_observation_from_other_thread_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = ObserverMultiplexer_can_trigger_single_observer_during_single_observer_observation_from_other_thread_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 748 | .WillOnce(InvokeWithoutArgs([&]() | ~~~~~~~~~~~~~~~~~^~~~~~ 749 | { | ~ 750 | mt::AutoJoinThread([&]() | ~~~~~~~~~~~~~~~~~~~~~~~~ 751 | { | ~ 752 | multiplexer.single_observer_observation(*observer, second_observation); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 753 | }); | ~~~ 754 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:777:36: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_can_remove_observer_during_other_observers_observation_from_other_thread_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = ObserverMultiplexer_can_remove_observer_during_other_observers_observation_from_other_thread_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 777 | .WillOnce(InvokeWithoutArgs([&]() | ~~~~~~~~~~~~~~~~~^~~~~~ 778 | { | ~ 779 | mt::AutoJoinThread([&]() | ~~~~~~~~~~~~~~~~~~~~~~~~ 780 | { | ~ 781 | multiplexer.unregister_interest(*observer_b); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 782 | }); | ~~~ 783 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:813:30: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_addition_takes_effect_immediately_even_in_callback_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = ObserverMultiplexer_addition_takes_effect_immediately_even_in_callback_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 813 | InvokeWithoutArgs( | ~~~~~~~~~~~~~~~~~^ 814 | [&multiplexer, observer_two]() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 815 | { | ~ 816 | multiplexer.register_interest(observer_two); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 817 | multiplexer.observation_made(second_observation); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 818 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/test_observer_multiplexer.cpp:917:19: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ObserverMultiplexer_unregister_interest_prevents_dispatch_of_already_queued_observations_Test::TestBody()::<lambda(auto:72)>; typename std::decay<_Tp>::type = ObserverMultiplexer_unregister_interest_prevents_dispatch_of_already_queued_observations_Test::TestBody()::<lambda(auto:72)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 917 | Invoke( | ~~~~~~^ 918 | [&call_count, &multiplexer, observer = std::weak_ptr<MockObserver>{observer}](auto) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 919 | { | ~ 920 | ++call_count; | ~~~~~~~~~~~~~ 921 | if (call_count < 2) | ~~~~~~~~~~~~~~~~~~~ 922 | { | ~ 923 | multiplexer.unregister_interest(*observer.lock()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 924 | } | ~ 925 | else | ~~~~ 926 | { | ~ 927 | FAIL() << "Observer called after unregister"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 928 | } | ~ 929 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/compositor/test_multi_threaded_compositor.cpp:872:41: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = MultiThreadedCompositor_can_schedule_from_display_observer_when_adding_display_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = MultiThreadedCompositor_can_schedule_from_display_observer_when_adding_display_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 872 | .WillByDefault(InvokeWithoutArgs([&]{ stub_scene->emit_change_event(); })); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/unit-tests/compositor/test_multi_threaded_compositor.cpp:890:41: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = MultiThreadedCompositor_can_schedule_from_display_observer_when_removing_display_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = MultiThreadedCompositor_can_schedule_from_display_observer_when_removing_display_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 890 | .WillByDefault(InvokeWithoutArgs([&]{ stub_scene->emit_change_event(); })); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/focus_mode.cpp:47:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::FocusMode::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::FocusMode::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 47 | Invoke( | ~~~~~~^ 48 | [&result](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49 | { result = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/window_placement_maximized.cpp:44:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::WindowPlacementMaximized::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::WindowPlacementMaximized::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 44 | Invoke( | ~~~~~~^ 45 | [&result](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 46 | { result = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/ignored_requests.cpp:73:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::IgnoredRequests::create_window()::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::IgnoredRequests::create_window()::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 73 | Invoke( | ~~~~~~^ 74 | [&window](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | { window = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/window_placement_output.cpp:44:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::WindowPlacementOutput::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::WindowPlacementOutput::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 44 | Invoke( | ~~~~~~^ 45 | [&result](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 46 | { result = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/resize_and_move.cpp:42:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::ResizeAndMove::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::ResizeAndMove::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 42 | Invoke( | ~~~~~~^ 43 | [&result](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 | { result = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/window_placement_fullscreen.cpp:48:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::WindowPlacementFullscreen::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::WindowPlacementFullscreen::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 48 | Invoke( | ~~~~~~^ 49 | [&result](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 50 | { result = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/initial_window_placement.cpp:41:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::InitialWindowPlacement::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::InitialWindowPlacement::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 41 | Invoke( | ~~~~~~^ 42 | [&result](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 43 | { result = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/window_placement_attached.cpp:73:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::WindowPlacementAttached::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::WindowPlacementAttached::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 73 | Invoke( | ~~~~~~^ 74 | [&result](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | { result = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:48:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_application_zone_created_for_output_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_application_zone_created_for_output_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 48 | .WillOnce(Invoke([&](Zone const& zone){ zone_a = zone; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:63:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_multiple_outputs_lead_to_multiple_application_zones_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_multiple_outputs_lead_to_multiple_application_zones_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 63 | .WillOnce(Invoke([&](Zone const& zone){ zone_a = zone; })) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:64:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_multiple_outputs_lead_to_multiple_application_zones_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_multiple_outputs_lead_to_multiple_application_zones_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 64 | .WillOnce(Invoke([&](Zone const& zone){ zone_b = zone; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:83:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_updating_output_updates_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_updating_output_updates_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 83 | .WillOnce(Invoke([&](Zone const& zone){ zone_a_initial = zone; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:91:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_updating_output_updates_application_zone_Test::TestBody()::<lambda(const miral::Zone&, const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_updating_output_updates_application_zone_Test::TestBody()::<lambda(const miral::Zone&, const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 91 | .WillOnce(Invoke([&](Zone const& updated, Zone const& original){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 92 | zone_a_original = original; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | zone_b = updated; | ~~~~~~~~~~~~~~~~~ 94 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:118:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_removing_output_deletes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_removing_output_deletes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 118 | .WillOnce(Invoke([&](Zone const& zone){ zone_a = zone; })) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:119:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_removing_output_deletes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_removing_output_deletes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 119 | .WillOnce(Invoke([&](Zone const& zone){ zone_b = zone; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:126:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_removing_output_deletes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_removing_output_deletes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 126 | .WillOnce(Invoke([&](Zone const& zone){ deleted_zone = zone; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:144:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_multiple_outputs_in_the_same_logical_group_lead_to_one_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_multiple_outputs_in_the_same_logical_group_lead_to_one_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 144 | .WillOnce(Invoke([&](Zone const& zone){ zone_a = zone; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:165:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_multiple_logical_output_groups_lead_to_multiple_application_zones_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_multiple_logical_output_groups_lead_to_multiple_application_zones_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 165 | .WillOnce(Invoke([&](Zone const& zone){ zone_a_b = zone; })) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:166:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_multiple_logical_output_groups_lead_to_multiple_application_zones_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_multiple_logical_output_groups_lead_to_multiple_application_zones_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 166 | .WillOnce(Invoke([&](Zone const& zone){ zone_c_d = zone; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:192:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_adding_output_to_logical_group_resizes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_adding_output_to_logical_group_resizes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 192 | .WillOnce(Invoke([&](Zone const& zone){ initial_zone = zone; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:199:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_adding_output_to_logical_group_resizes_application_zone_Test::TestBody()::<lambda(const miral::Zone&, const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_adding_output_to_logical_group_resizes_application_zone_Test::TestBody()::<lambda(const miral::Zone&, const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 199 | .WillOnce(Invoke([&](Zone const& updated, Zone const& original){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | EXPECT_THAT(original, Eq(initial_zone)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | updated_zone = updated; | ~~~~~~~~~~~~~~~~~~~~~~~ 202 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:224:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_removing_output_in_logical_group_resizes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_removing_output_in_logical_group_resizes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 224 | .WillOnce(Invoke([&](Zone const& zone){ initial_zone = zone; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:231:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_removing_output_in_logical_group_resizes_application_zone_Test::TestBody()::<lambda(const miral::Zone&, const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_removing_output_in_logical_group_resizes_application_zone_Test::TestBody()::<lambda(const miral::Zone&, const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 231 | .WillOnce(Invoke([&](Zone const& updated, Zone const& original){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232 | EXPECT_THAT(original, Eq(initial_zone)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | updated_zone = updated; | ~~~~~~~~~~~~~~~~~~~~~~~ 234 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:256:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_updating_output_in_logical_group_updates_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_updating_output_in_logical_group_updates_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 256 | .WillOnce(Invoke([&](Zone const& zone){ zone_a_b = zone; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:264:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_updating_output_in_logical_group_updates_application_zone_Test::TestBody()::<lambda(const miral::Zone&, const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_updating_output_in_logical_group_updates_application_zone_Test::TestBody()::<lambda(const miral::Zone&, const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 264 | .WillOnce(Invoke([&](Zone const& updated, Zone const& original){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | EXPECT_THAT(original, Eq(zone_a_b)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | zone_a_c = updated; | ~~~~~~~~~~~~~~~~~~~ 267 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:292:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_removing_all_outputs_in_logical_group_deletes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_removing_all_outputs_in_logical_group_deletes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 292 | .WillOnce(Invoke([&](Zone const& zone){ zone_a = zone; })) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:293:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_removing_all_outputs_in_logical_group_deletes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_removing_all_outputs_in_logical_group_deletes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 293 | .WillOnce(Invoke([&](Zone const& zone){ zone_b_c = zone; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:300:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_removing_all_outputs_in_logical_group_deletes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_removing_all_outputs_in_logical_group_deletes_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 300 | .WillOnce(Invoke([&](Zone const& zone){ deleted_zone = zone; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/application_zone.cpp:359:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = ApplicationZone_readding_single_output_after_two_removed_removes_second_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>; typename std::decay<_Tp>::type = ApplicationZone_readding_single_output_after_two_removed_removes_second_application_zone_Test::TestBody()::<lambda(const miral::Zone&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 359 | .WillOnce(Invoke([&](Zone const& zone){ zone_b = zone; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/depth_layer.cpp:47:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::DepthLayer::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::DepthLayer::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 47 | Invoke( | ~~~~~~^ 48 | [&result](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49 | { result = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:45:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::OutputUpdates::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::OutputUpdates::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 45 | Invoke( | ~~~~~~^ 46 | [&result](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | { result = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:66:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = OutputUpdates_policy_notified_of_output_creation_Test::TestBody()::<lambda(const miral::Output&)>; typename std::decay<_Tp>::type = OutputUpdates_policy_notified_of_output_creation_Test::TestBody()::<lambda(const miral::Output&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 66 | .WillOnce(Invoke([&](Output const& output){ output_a = output; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:81:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = OutputUpdates_policy_notified_of_multiple_outputs_Test::TestBody()::<lambda(const miral::Output&)>; typename std::decay<_Tp>::type = OutputUpdates_policy_notified_of_multiple_outputs_Test::TestBody()::<lambda(const miral::Output&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 81 | .WillOnce(Invoke([&](Output const& output){ output_a = output; })) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:82:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = OutputUpdates_policy_notified_of_multiple_outputs_Test::TestBody()::<lambda(const miral::Output&)>; typename std::decay<_Tp>::type = OutputUpdates_policy_notified_of_multiple_outputs_Test::TestBody()::<lambda(const miral::Output&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 82 | .WillOnce(Invoke([&](Output const& output){ output_b = output; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:101:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = OutputUpdates_policy_notified_of_output_update_Test::TestBody()::<lambda(const miral::Output&)>; typename std::decay<_Tp>::type = OutputUpdates_policy_notified_of_output_update_Test::TestBody()::<lambda(const miral::Output&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 101 | .WillOnce(Invoke([&](Output const& output){ output_initial = output; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:109:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = OutputUpdates_policy_notified_of_output_update_Test::TestBody()::<lambda(const miral::Output&, const miral::Output&)>; typename std::decay<_Tp>::type = OutputUpdates_policy_notified_of_output_update_Test::TestBody()::<lambda(const miral::Output&, const miral::Output&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 109 | .WillOnce(Invoke([&](Output const& updated, Output const& original){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | output_original = original; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | output_updated = updated; | ~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:134:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = OutputUpdates_policy_notified_of_output_delete_Test::TestBody()::<lambda(const miral::Output&)>; typename std::decay<_Tp>::type = OutputUpdates_policy_notified_of_output_delete_Test::TestBody()::<lambda(const miral::Output&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 134 | .WillOnce(Invoke([&](Output const& output){ output_a = output; })) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:135:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = OutputUpdates_policy_notified_of_output_delete_Test::TestBody()::<lambda(const miral::Output&)>; typename std::decay<_Tp>::type = OutputUpdates_policy_notified_of_output_delete_Test::TestBody()::<lambda(const miral::Output&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 135 | .WillOnce(Invoke([&](Output const& output){ output_b = output; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:143:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = OutputUpdates_policy_notified_of_output_delete_Test::TestBody()::<lambda(const miral::Output&)>; typename std::decay<_Tp>::type = OutputUpdates_policy_notified_of_output_delete_Test::TestBody()::<lambda(const miral::Output&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 143 | .WillOnce(Invoke([&](Output const& output){ output_b_deleted = output; })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:191:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = OutputUpdates_maximized_window_moved_with_its_output_Test::TestBody()::<lambda(const miral::WindowInfo&, mir::geometry::Point)>; typename std::decay<_Tp>::type = OutputUpdates_maximized_window_moved_with_its_output_Test::TestBody()::<lambda(const miral::WindowInfo&, mir::geometry::Point)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 191 | .WillOnce(Invoke([&](miral::WindowInfo const& window_info, mir::geometry::Point top_left) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 192 | { | ~ 193 | EXPECT_THAT(window_info.window(), Eq(window)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 194 | EXPECT_THAT(top_left, Eq(display_area_b.top_left)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 195 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:197:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = OutputUpdates_maximized_window_moved_with_its_output_Test::TestBody()::<lambda(const miral::WindowInfo&, mir::geometry::Size)>; typename std::decay<_Tp>::type = OutputUpdates_maximized_window_moved_with_its_output_Test::TestBody()::<lambda(const miral::WindowInfo&, mir::geometry::Size)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 197 | .WillOnce(Invoke([&](miral::WindowInfo const& window_info, mir::geometry::Size size) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | { | ~ 199 | EXPECT_THAT(window_info.window(), Eq(window)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | EXPECT_THAT(size, Eq(display_area_b.size)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:257:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = OutputUpdates_maximized_window_moved_with_its_logical_output_group_Test::TestBody()::<lambda(const miral::WindowInfo&, mir::geometry::Point)>; typename std::decay<_Tp>::type = OutputUpdates_maximized_window_moved_with_its_logical_output_group_Test::TestBody()::<lambda(const miral::WindowInfo&, mir::geometry::Point)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 257 | .WillOnce(Invoke([&](miral::WindowInfo const& window_info, mir::geometry::Point top_left) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | { | ~ 259 | EXPECT_THAT(window_info.window(), Eq(window)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | EXPECT_THAT(top_left, Eq(logical_area_b.top_left)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:263:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = OutputUpdates_maximized_window_moved_with_its_logical_output_group_Test::TestBody()::<lambda(const miral::WindowInfo&, mir::geometry::Size)>; typename std::decay<_Tp>::type = OutputUpdates_maximized_window_moved_with_its_logical_output_group_Test::TestBody()::<lambda(const miral::WindowInfo&, mir::geometry::Size)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 263 | .WillOnce(Invoke([&](miral::WindowInfo const& window_info, mir::geometry::Size size) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | { | ~ 265 | EXPECT_THAT(window_info.window(), Eq(window)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | EXPECT_THAT(size, Eq(logical_area_b.size)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 267 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:294:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = OutputUpdates_maximized_window_moved_when_outputs_become_logical_group_Test::TestBody()::<lambda(const miral::WindowInfo&, mir::geometry::Point)>; typename std::decay<_Tp>::type = OutputUpdates_maximized_window_moved_when_outputs_become_logical_group_Test::TestBody()::<lambda(const miral::WindowInfo&, mir::geometry::Point)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 294 | .WillOnce(Invoke([&](miral::WindowInfo const& window_info, mir::geometry::Point top_left) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | EXPECT_THAT(window_info.window(), Eq(window)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | EXPECT_THAT(top_left, Eq(logical_area_b.top_left)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/output_updates.cpp:300:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = OutputUpdates_maximized_window_moved_when_outputs_become_logical_group_Test::TestBody()::<lambda(const miral::WindowInfo&, mir::geometry::Size)>; typename std::decay<_Tp>::type = OutputUpdates_maximized_window_moved_when_outputs_become_logical_group_Test::TestBody()::<lambda(const miral::WindowInfo&, mir::geometry::Size)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 300 | .WillOnce(Invoke([&](miral::WindowInfo const& window_info, mir::geometry::Size size) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 301 | { | ~ 302 | EXPECT_THAT(window_info.window(), Eq(window)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 303 | EXPECT_THAT(size, Eq(logical_area_b.size)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | })); | ~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/display_reconfiguration.cpp:57:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::DisplayConfiguration::create_fullscreen_window()::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::DisplayConfiguration::create_fullscreen_window()::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 57 | Invoke( | ~~~~~~^ 58 | [this](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | { window = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/test_window_manager_tools.cpp:365:28: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = mir::test::TestWindowManagerTools::create_and_select_window_for_session(mir::shell::SurfaceSpecification&, std::shared_ptr<mir::scene::Session>)::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = mir::test::TestWindowManagerTools::create_and_select_window_for_session(mir::shell::SurfaceSpecification&, std::shared_ptr<mir::scene::Session>)::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 365 | testing::Invoke( | ~~~~~~~~~~~~~~~^ 366 | [&result](miral::WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 367 | { result = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/raise_tree.cpp:49:29: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::RaiseTree::SetUp()::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::RaiseTree::SetUp()::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 49 | .WillOnce(Invoke([this](WindowInfo const& window_info){ parent = window_info.window(); })) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/raise_tree.cpp:50:29: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::RaiseTree::SetUp()::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::RaiseTree::SetUp()::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 50 | .WillOnce(Invoke([this](WindowInfo const& window_info){ child = window_info.window(); })) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/raise_tree.cpp:51:29: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::RaiseTree::SetUp()::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::RaiseTree::SetUp()::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 51 | .WillOnce(Invoke([this](WindowInfo const& window_info){ another_window = window_info.window(); })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/modify_window_specification.cpp:56:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::ModifyWindowState::create_window_of_type(MirWindowType, const miral::Window&)::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::ModifyWindowState::create_window_of_type(MirWindowType, const miral::Window&)::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 56 | Invoke( | ~~~~~~^ 57 | [&window](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | { window = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/modify_window_state.cpp:55:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::ModifyWindowState::create_window_of_type(MirWindowType)::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::ModifyWindowState::create_window_of_type(MirWindowType)::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 55 | Invoke( | ~~~~~~^ 56 | [this](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 57 | { window = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/drag_active_window.cpp:55:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::DragActiveWindow::create_window_of_type(MirWindowType)::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::DragActiveWindow::create_window_of_type(MirWindowType)::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 55 | Invoke( | ~~~~~~^ 56 | [this](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 57 | { window = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/window_placement_anchors_to_parent.cpp:66:29: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::WindowPlacementAnchorsToParent::SetUp()::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::WindowPlacementAnchorsToParent::SetUp()::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 66 | .WillOnce(Invoke([this](WindowInfo const& window_info){ parent = window_info.window(); })) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/window_placement_anchors_to_parent.cpp:67:29: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::WindowPlacementAnchorsToParent::SetUp()::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::WindowPlacementAnchorsToParent::SetUp()::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 67 | .WillOnce(Invoke([this](WindowInfo const& window_info){ child = window_info.window(); })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/select_active_window.cpp:48:23: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::SelectActiveWindow::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::SelectActiveWindow::create_window(mir::shell::SurfaceSpecification)::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 48 | Invoke( | ~~~~~~^ 49 | [&result](WindowInfo const& window_info) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 50 | { result = window_info.window(); })); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/active_outputs.cpp:88:82: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::ActiveOutputs::update_outputs(const std::vector<mir::geometry::generic::Rectangle<int> >&)::<lambda()>; typename std::decay<_Tp>::type = {anonymous}::ActiveOutputs::update_outputs(const std::vector<mir::geometry::generic::Rectangle<int> >&)::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 88 | EXPECT_CALL(active_outputs_listener, advise_output_end()).WillOnce(Invoke([&]{signal.raise(); })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/active_outputs.cpp:100:82: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::ActiveOutputs::invert_outputs_in_base_configuration()::<lambda()>; typename std::decay<_Tp>::type = {anonymous}::ActiveOutputs::invert_outputs_in_base_configuration()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 100 | EXPECT_CALL(active_outputs_listener, advise_output_end()).WillOnce(Invoke([&]{signal.raise(); })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/popup_window_placement.cpp:68:29: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::PopupWindowPlacement::SetUp()::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::PopupWindowPlacement::SetUp()::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 68 | .WillOnce(Invoke([this](WindowInfo const& window_info){ parent = window_info.window(); })) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/popup_window_placement.cpp:69:29: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = {anonymous}::PopupWindowPlacement::SetUp()::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = {anonymous}::PopupWindowPlacement::SetUp()::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 69 | .WillOnce(Invoke([this](WindowInfo const& window_info){ child = window_info.window(); })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/popup_window_placement.cpp:619:25: warning: 'typename std::decay<_Tp>::type testing::Invoke(FunctionImpl&&) [with FunctionImpl = PopupWindowPlacement_place_new_surface_uses_provided_parent_size_Test::TestBody()::<lambda(const miral::WindowInfo&)>; typename std::decay<_Tp>::type = PopupWindowPlacement_place_new_surface_uses_provided_parent_size_Test::TestBody()::<lambda(const miral::WindowInfo&)>]' is deprecated: Actions can now be implicitly constructed from callables. No need to create wrapper objects using Invoke(). [-Wdeprecated-declarations] 619 | .WillOnce(Invoke([&new_child](WindowInfo const& window_info){ new_child = window_info.window(); })); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/src/server/frontend_wayland/input_trigger_registration_v1.cpp:490:1: warning: '{anonymous}::InputTriggerActionControlV1::InputTriggerActionControlV1(const std::shared_ptr<mir::frontend::InputTriggerRegistry::ActionGroup>&, wl_resource*)' defined but not used [-Wunused-function] 490 | InputTriggerActionControlV1::InputTriggerActionControlV1( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/src/server/frontend_wayland/input_trigger_registration_v1.cpp:456:1: warning: '{anonymous}::KeyboardTrigger::KeyboardTrigger({anonymous}::InputTriggerModifiers, const std::shared_ptr<const mir::frontend::KeyboardStateTracker>&, wl_resource*)' defined but not used [-Wunused-function] 456 | KeyboardTrigger::KeyboardTrigger( | ^~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/src/server/frontend_wayland/input_trigger_registration_v1.cpp:244:1: warning: 'mir::frontend::KeyboardCodeTrigger::KeyboardCodeTrigger({anonymous}::InputTriggerModifiers, uint32_t, const std::shared_ptr<const mir::frontend::KeyboardStateTracker>&, wl_resource*)' defined but not used [-Wunused-function] 244 | mf::KeyboardCodeTrigger::KeyboardCodeTrigger( | ^~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/src/server/frontend_wayland/input_trigger_registration_v1.cpp:214:1: warning: 'mir::frontend::KeyboardSymTrigger::KeyboardSymTrigger({anonymous}::InputTriggerModifiers, uint32_t, const std::shared_ptr<const mir::frontend::KeyboardStateTracker>&, wl_resource*)' defined but not used [-Wunused-function] 214 | mf::KeyboardSymTrigger::KeyboardSymTrigger( | ^~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/src/server/frontend_wayland/idle_inhibit_v1.cpp:194:1: warning: '{anonymous}::IdleInhibitorV1::~IdleInhibitorV1()' defined but not used [-Wunused-function] 194 | IdleInhibitorV1::~IdleInhibitorV1() | ^~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/src/server/frontend_wayland/idle_inhibit_v1.cpp:166:1: warning: '{anonymous}::IdleInhibitorV1::IdleInhibitorV1(wl_resource*, const std::shared_ptr<{anonymous}::IdleInhibitV1Ctx>&, mir::frontend::WlSurface*)' defined but not used [-Wunused-function] 166 | IdleInhibitorV1::IdleInhibitorV1( | ^~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/src/server/frontend_wayland/idle_inhibit_v1.cpp:112:1: warning: '{anonymous}::IdleInhibitManagerV1::IdleInhibitManagerV1(wl_resource*, std::shared_ptr<{anonymous}::IdleInhibitV1Ctx>)' defined but not used [-Wunused-function] 112 | IdleInhibitManagerV1::IdleInhibitManagerV1( | ^~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/src/server/frontend_wayland/mir_shell.cpp:159:1: warning: '{anonymous}::MirPositioner::MirPositioner(wl_resource*)' defined but not used [-Wunused-function] 159 | MirPositioner::MirPositioner(wl_resource* new_resource) | ^~~~~~~~~~~~~ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/src/platforms/evdev/libinput_device.cpp:585:12: warning: enumeration value 'LIBINPUT_CONFIG_SCROLL_CIRCULAR' not handled in switch [-Wswitch] 585 | switch (libinput_device_config_scroll_get_method(dev)) | ^ -
/home/buildozer/aports/testing/mir/src/mir-2.28.0/tests/miral/runner.cpp:62:36: warning: 'std::decay_t<_Tp> testing::InvokeWithoutArgs(FunctionImpl&&) [with FunctionImpl = Runner_start_callback_is_called_Test::TestBody()::<lambda()>; std::decay_t<_Tp> = Runner_start_callback_is_called_Test::TestBody()::<lambda()>]' is deprecated: Actions can now be implicitly constructed from zero-argument callables. No need to create wrapper objects using InvokeWithoutArgs(). [-Wdeprecated-declarations] 62 | .WillOnce(InvokeWithoutArgs([signal] { signal->raise(); })); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~