diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-09 14:01:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-09 14:04:41 +0300 |
commit | 2330cadb0fbdc31b2eed415996e376a830c1e1b9 (patch) | |
tree | 42c05456702847b37e7c4ab009de2fb8a49ebeee /intern/cycles/util/util_types_int4_impl.h | |
parent | c86d4b1d804eb9284eee1c796080196e7a48b3f8 (diff) |
Cycles: Cleanup, don't use strict C prototypes
Those are more like a legacy of language, which is not
needed in C++.
Diffstat (limited to 'intern/cycles/util/util_types_int4_impl.h')
-rw-r--r-- | intern/cycles/util/util_types_int4_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/util/util_types_int4_impl.h b/intern/cycles/util/util_types_int4_impl.h index a62561709de..c058f86c400 100644 --- a/intern/cycles/util/util_types_int4_impl.h +++ b/intern/cycles/util/util_types_int4_impl.h @@ -43,12 +43,12 @@ __forceinline int4::int4(const __m128i& a) { } -__forceinline int4::operator const __m128i&(void) const +__forceinline int4::operator const __m128i&() const { return m128; } -__forceinline int4::operator __m128i&(void) +__forceinline int4::operator __m128i&() { return m128; } |