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

Commit

Permalink
GCC empty parameter pack workaround
Browse files Browse the repository at this point in the history
I'm not sure why my changes exposed this problem in the first place...
  • Loading branch information
ChrisLoer committed Jun 5, 2017
1 parent 83c4239 commit d297eae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mbgl/renderer/paint_property_binder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ class PaintPropertyBinders<TypeList<Ps...>> {
}

UniformValues uniformValues(float currentZoom) const {
(void)currentZoom; // Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56958
return UniformValues {
uniformValue<Ps>(currentZoom)...
};
Expand Down

0 comments on commit d297eae

Please sign in to comment.