Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
fix android compile errors
Browse files Browse the repository at this point in the history
- explicitly mark override
- re-add fix from 74604af that was lost in a merge
  • Loading branch information
ansis committed Jun 2, 2015
1 parent 4e74867 commit 3dfa317
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/mbgl/renderer/symbol_bucket.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class SymbolBucket : public Bucket {
const FilterExpression&,
GlyphStore&,
Sprite&);
void placeFeatures();
void placeFeatures() override;

private:
void addFeature(const std::vector<std::vector<Coordinate>> &lines,
Expand All @@ -99,7 +99,7 @@ class SymbolBucket : public Bucket {
void addToDebugBuffers();

void placeFeatures(bool swapImmediately);
void swapRenderData();
void swapRenderData() override;

// Adds placed items to the buffer.
template <typename Buffer, typename GroupType>
Expand Down
5 changes: 3 additions & 2 deletions src/mbgl/text/collision_tile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
#pragma GCC diagnostic ignored "-Wunused-variable"
#pragma GCC diagnostic ignored "-Wshadow"
#ifdef __clang__
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
#endif
#pragma GCC diagnostic ignored "-Wpragmas"
#pragma GCC diagnostic ignored "-Wdeprecated-register"
#pragma GCC diagnostic ignored "-Wshorten-64-to-32"
#else
#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/point.hpp>
#include <boost/geometry/geometries/box.hpp>
Expand Down

0 comments on commit 3dfa317

Please sign in to comment.