diff --git a/cmake/loop-uv.cmake b/cmake/loop-uv.cmake index 0f55fce64..182b0d6f9 100644 --- a/cmake/loop-uv.cmake +++ b/cmake/loop-uv.cmake @@ -14,4 +14,8 @@ target_include_directories(mbgl-loop-uv PRIVATE src ) +target_link_libraries(mbgl-loop-uv + PRIVATE mbgl-core +) + create_source_groups(mbgl-loop-uv) diff --git a/src/mbgl/style/source_impl.hpp b/src/mbgl/style/source_impl.hpp index 52d5036fa..42da97345 100644 --- a/src/mbgl/style/source_impl.hpp +++ b/src/mbgl/style/source_impl.hpp @@ -17,6 +17,8 @@ class Source::Impl { public: virtual ~Impl() = default; + Impl& operator=(const Impl&) = delete; + virtual optional getAttribution() const = 0; const SourceType type; @@ -25,7 +27,6 @@ public: protected: Impl(SourceType, std::string); Impl(const Impl&) = default; - Impl& operator=(const Impl&) = delete; }; } // namespace style diff --git a/src/mbgl/util/longest_common_subsequence.hpp b/src/mbgl/util/longest_common_subsequence.hpp index ac127c635..522b5a86b 100644 --- a/src/mbgl/util/longest_common_subsequence.hpp +++ b/src/mbgl/util/longest_common_subsequence.hpp @@ -103,4 +103,4 @@ OutIt longest_common_subsequence(InIt a, InIt endA, return longest_common_subsequence(a, endA, b, endB, outIt, std::equal_to<>()); } -} +} // namespace mbgl