From b42878012cc20d1031bdf6765912d77866b26ad6 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sun, 24 Jan 2016 01:33:53 +0500 Subject: Cycles: Make Clang 3.6 happy with const debug flags reference For some reason it did not like the explicit const qualifier for a custom type. --- intern/cycles/util/util_debug.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'intern/cycles/util/util_debug.h') diff --git a/intern/cycles/util/util_debug.h b/intern/cycles/util/util_debug.h index 723d4a0a1ec..6ec5188049d 100644 --- a/intern/cycles/util/util_debug.h +++ b/intern/cycles/util/util_debug.h @@ -125,13 +125,14 @@ private: }; typedef DebugFlags& DebugFlagsRef; +typedef const DebugFlags& DebugFlagsConstRef; inline DebugFlags& DebugFlags() { return DebugFlags::get(); } std::ostream& operator <<(std::ostream &os, - const DebugFlagsRef debug_flags); + DebugFlagsConstRef debug_flags); CCL_NAMESPACE_END -- cgit v1.2.3