From c7b64cb9a7133029c827c2f1785c2a3e2633f227 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 8 Jun 2016 09:48:14 +0100 Subject: [PATCH] Fixed -Wextra warnings --- src/osgPlugins/txp/TXPParser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgPlugins/txp/TXPParser.h b/src/osgPlugins/txp/TXPParser.h index a0ecaa1a4..a17987db2 100644 --- a/src/osgPlugins/txp/TXPParser.h +++ b/src/osgPlugins/txp/TXPParser.h @@ -180,7 +180,7 @@ public: // Returns true if we are under billboard subgraph - inline const bool underBillboardSubgraph() const + inline bool underBillboardSubgraph() const { return _underBillboardSubgraph; } @@ -216,7 +216,7 @@ public: DeferredLightAttribute& getLightAttribute(int ix); // Returns if we are under layer subgraph - inline const bool underLayerSubgraph() const + inline bool underLayerSubgraph() const { return _underLayerSubgraph; }