diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-01-23 23:33:53 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-01-23 23:33:53 +0300 |
commit | b42878012cc20d1031bdf6765912d77866b26ad6 (patch) | |
tree | 5a119eedf6d232fb114fe3ce857d10b62459852f /intern/cycles/util/util_debug.h | |
parent | 398baef6c830fad7ec2ffb75801713775c348f7c (diff) |
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.
Diffstat (limited to 'intern/cycles/util/util_debug.h')
-rw-r--r-- | intern/cycles/util/util_debug.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |