[Bf-blender-cvs] [31f8ca50349] master: Cycles: Fix compilation error after recent logging changes

Sergey Sharybin noreply at git.blender.org
Wed Jul 5 20:41:02 CEST 2017


Commit: 31f8ca503495e5900a4ec5f7361b3c20bf365f37
Author: Sergey Sharybin
Date:   Wed Jul 5 20:39:34 2017 +0200
Branches: master
https://developer.blender.org/rB31f8ca503495e5900a4ec5f7361b3c20bf365f37

Cycles: Fix compilation error after recent logging changes

This file uses std::ostream for helper << operators, so need to make sure
corresponding header is included.

===================================================================

M	intern/cycles/util/util_logging.h

===================================================================

diff --git a/intern/cycles/util/util_logging.h b/intern/cycles/util/util_logging.h
index 6380cb13a9b..492f830e67c 100644
--- a/intern/cycles/util/util_logging.h
+++ b/intern/cycles/util/util_logging.h
@@ -21,6 +21,8 @@
 #  include <glog/logging.h>
 #endif
 
+#include <iostream>
+
 CCL_NAMESPACE_BEGIN
 
 #if !defined(WITH_CYCLES_LOGGING) || defined(__KERNEL_GPU__)




More information about the Bf-blender-cvs mailing list