From e0d555ffc885036ed727f683a5981043a7527dd3 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Thu, 20 Apr 2017 01:21:27 -0600 Subject: [PATCH] mathlib: vs2013 compatibility --- include/common/mathlib.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/common/mathlib.hh b/include/common/mathlib.hh index 96e9675e..b45d32cc 100644 --- a/include/common/mathlib.hh +++ b/include/common/mathlib.hh @@ -735,9 +735,9 @@ public: return res_vec; } - octree_t(const aabb3 &box) - : m_nodes { octree_node_t(box, 0) } - {} + octree_t(const aabb3 &box) { + this->m_nodes.push_back(octree_node_t(box, 0)); + } }; template