diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-12-02 10:40:59 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-12-02 14:12:18 +0200 |
commit | 7bacf5696ca90dd3f3496988ad0658b357cb7ec1 (patch) | |
tree | 55c0988f8ea6a5c2f32c1f9df7d4e3f0bc26481c /next | |
parent | e373d8a5924e4f4cf3904ecacbf1d1cf86a5d60f (diff) | |
download | qtlocation-mapboxgl-7bacf5696ca90dd3f3496988ad0658b357cb7ec1.tar.gz |
[core] Introduce Pass<> class and use it for Scheduler
Thus we enforce client to retain the returned `Scheduler` objects.
Diffstat (limited to 'next')
-rw-r--r-- | next/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/next/CMakeLists.txt b/next/CMakeLists.txt index 6ed7b7a12e..e47be97fe1 100644 --- a/next/CMakeLists.txt +++ b/next/CMakeLists.txt @@ -45,6 +45,7 @@ add_compile_options( $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<NOT:$<PLATFORM_ID:Windows>>>:-Werror> $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<PLATFORM_ID:Android>>:-Wno-error=tautological-constant-compare> $<$<CXX_COMPILER_ID:GNU>:-Wno-error=maybe-uninitialized> + $<$<CXX_COMPILER_ID:GNU>:-Wno-error=return-type> $<$<CXX_COMPILER_ID:GNU>:-Wno-error=unknown-pragmas> $<$<CXX_COMPILER_ID:AppleClang>:-Wno-error=deprecated-declarations> $<$<CXX_COMPILER_ID:AppleClang>:-Wno-error=unused-parameter> |