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

Commit

Permalink
[core] Impl* const
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Apr 26, 2016
1 parent 72c5316 commit 0b73d32
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion include/mbgl/layer/background_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class BackgroundLayer : public Layer {
// Private implementation

class Impl;
Impl* impl;
Impl* const impl;

BackgroundLayer(const Impl&);
BackgroundLayer(const BackgroundLayer&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion include/mbgl/layer/circle_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class CircleLayer : public Layer {
// Private implementation

class Impl;
Impl* impl;
Impl* const impl;

CircleLayer(const Impl&);
CircleLayer(const CircleLayer&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion include/mbgl/layer/fill_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class FillLayer : public Layer {
// Private implementation

class Impl;
Impl* impl;
Impl* const impl;

FillLayer(const Impl&);
FillLayer(const FillLayer&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion include/mbgl/layer/line_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class LineLayer : public Layer {
// Private implementation

class Impl;
Impl* impl;
Impl* const impl;

LineLayer(const Impl&);
LineLayer(const LineLayer&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion include/mbgl/layer/raster_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class RasterLayer : public Layer {
// Private implementation

class Impl;
Impl* impl;
Impl* const impl;

RasterLayer(const Impl&);
RasterLayer(const RasterLayer&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion include/mbgl/layer/symbol_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class SymbolLayer : public Layer {
// Private implementation

class Impl;
Impl* impl;
Impl* const impl;

SymbolLayer(const Impl&);
SymbolLayer(const SymbolLayer&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-style-code.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public:
// Private implementation
class Impl;
Impl* impl;
Impl* const impl;
<%- camelize(type) %>Layer(const Impl&);
<%- camelize(type) %>Layer(const <%- camelize(type) %>Layer&) = delete;
Expand Down

0 comments on commit 0b73d32

Please sign in to comment.