Fix for isfinite breaking builds when WITH_CXX11 is enabled.
This happens when cmath.h is included after math.h in cpp code. Kudos to Sergey for pointing this out.
This commit is contained in:
@@ -42,6 +42,8 @@
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
using std::isfinite;
|
||||
|
||||
static bool selected_node(RTBuilder::Object *node)
|
||||
{
|
||||
return node->selected;
|
||||
|
||||
Reference in New Issue
Block a user