From 1f9fa423dcf91441b29a73c5ca0dfcc2c7f5d969 Mon Sep 17 00:00:00 2001 From: azhirnov Date: Tue, 22 Sep 2020 13:36:50 +0300 Subject: [PATCH] fix for win32 --- framegraph/Public/MultiSamples.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/framegraph/Public/MultiSamples.h b/framegraph/Public/MultiSamples.h index aaffbc9..c33f319 100644 --- a/framegraph/Public/MultiSamples.h +++ b/framegraph/Public/MultiSamples.h @@ -23,7 +23,6 @@ namespace FG constexpr MultiSamples () : _value{0} {} explicit MultiSamples (uint samples) : _value{ CheckCast( IntLog2( samples ))} {} - explicit MultiSamples (uint64_t samples) : _value{ CheckCast( IntLog2( samples ))} {} ND_ constexpr uint Get () const { return 1u << _value; } ND_ constexpr uint8_t GetPowerOf2 () const { return _value; } @@ -39,7 +38,7 @@ namespace FG }; - ND_ inline MultiSamples operator "" _samples (unsigned long long value) { return MultiSamples{ uint64_t(value) }; } + ND_ inline MultiSamples operator "" _samples (unsigned long long value) { return MultiSamples{ uint(value) }; } } // FG