summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/node_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/shader/node_helper.h')
-rw-r--r--src/video_core/shader/node_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/node_helper.h b/src/video_core/shader/node_helper.h
index 11231bbea..1e0886185 100644
--- a/src/video_core/shader/node_helper.h
+++ b/src/video_core/shader/node_helper.h
@@ -48,7 +48,7 @@ Node MakeNode(Args&&... args) {
template <typename T, typename... Args>
TrackSampler MakeTrackSampler(Args&&... args) {
static_assert(std::is_convertible_v<T, TrackSamplerData>);
- return std::make_shared<TrackSamplerData>(T(std::forward<Args>(args)...));
+ return std::make_shared<TrackSamplerData>(T{std::forward<Args>(args)...});
}
template <typename... Args>