We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8daf855 commit 831244fCopy full SHA for 831244f
include/nbl/builtin/hlsl/cpp_compat/promote.hlsl
@@ -15,7 +15,7 @@ namespace impl
15
template<typename T, typename U>
16
struct Promote
17
{
18
- NBL_CONSTEXPR_FUNC T operator()(NBL_CONST_REF_ARG(U) v)
+ NBL_CONSTEXPR_FUNC T operator()(const U v)
19
20
return T(v);
21
}
0 commit comments