From f53375733413b840d10f8a02ab51eee033529baa Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sat, 18 Aug 2012 13:00:00 -0400 Subject: bugfix: default parameters should be in class declaration only diff --git a/src/csgterm.cc b/src/csgterm.cc index 8b0c8a4..0e68320 100644 --- a/src/csgterm.cc +++ b/src/csgterm.cc @@ -178,7 +178,7 @@ void CSGChain::import(shared_ptr term, CSGTerm::type_e type) } } -std::string CSGChain::dump(bool full=false) +std::string CSGChain::dump(bool full) { std::stringstream dump; diff --git a/src/csgterm.h b/src/csgterm.h index 95cfafd..566ebc3 100644 --- a/src/csgterm.h +++ b/src/csgterm.h @@ -59,7 +59,7 @@ public: void add(const shared_ptr &polyset, const Transform3d &m, const Color4f &color, CSGTerm::type_e type, std::string label); void import(shared_ptr term, CSGTerm::type_e type = CSGTerm::TYPE_UNION); - std::string dump(bool full); + std::string dump(bool full = false); BoundingBox getBoundingBox() const; }; -- cgit v0.10.1