From f851fac655d2c61916e02ef56dc16d9b0e3544ab Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 11 Aug 2022 02:58:49 -0400 Subject: [PATCH] speed up compilation - we don't need to make a copy of node->volume going into SplitBrush now --- qbsp/brushbsp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbsp/brushbsp.cc b/qbsp/brushbsp.cc index 8dbc46d2..23c92abc 100644 --- a/qbsp/brushbsp.cc +++ b/qbsp/brushbsp.cc @@ -609,7 +609,7 @@ inline void CheckPlaneAgainstParents(size_t planenum, node_t *node) static bool CheckPlaneAgainstVolume(size_t planenum, const node_t *node, bspstats_t &stats) { - auto [front, back] = SplitBrush(node->volume->copy_unique(), planenum, stats); + auto [front, back] = SplitBrush(node->volume, planenum, stats); bool good = (front && back);