summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-08-18 17:00:00 (GMT)
committerMarius Kintel <marius@kintel.net>2012-08-18 17:00:00 (GMT)
commitf53375733413b840d10f8a02ab51eee033529baa (patch)
treee75f7893fa0c1083ee53dfeff2dd1a2346491ca5
parent13d56f492560dc8bc9ed60d1d0b81cc98b2fd0c0 (diff)
bugfix: default parameters should be in class declaration only
-rw-r--r--src/csgterm.cc2
-rw-r--r--src/csgterm.h2
2 files changed, 2 insertions, 2 deletions
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<CSGTerm> 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> &polyset, const Transform3d &m, const Color4f &color, CSGTerm::type_e type, std::string label);
void import(shared_ptr<CSGTerm> term, CSGTerm::type_e type = CSGTerm::TYPE_UNION);
- std::string dump(bool full);
+ std::string dump(bool full = false);
BoundingBox getBoundingBox() const;
};
contact: Jan Huwald // Impressum