diff --git a/Runtime/World/CScannableParameters.hpp b/Runtime/World/CScannableParameters.hpp index 93a6a4739..8977a0e42 100644 --- a/Runtime/World/CScannableParameters.hpp +++ b/Runtime/World/CScannableParameters.hpp @@ -8,8 +8,8 @@ class CScannableParameters { CAssetId x0_scanId; public: - CScannableParameters() = default; - CScannableParameters(CAssetId id) : x0_scanId(id) {} - CAssetId GetScanId() const { return x0_scanId; } + constexpr CScannableParameters() = default; + constexpr explicit CScannableParameters(CAssetId id) : x0_scanId(id) {} + [[nodiscard]] constexpr CAssetId GetScanId() const { return x0_scanId; } }; } // namespace urde