CScannableParameters: Mark CScannableParameters as constexpr

This only contains a single member, so this can trivially be marked
constexpr.
This commit is contained in:
Lioncash 2020-03-27 18:56:34 -04:00
parent e0fe365dfd
commit 05988ce31c
1 changed files with 3 additions and 3 deletions

View File

@ -8,8 +8,8 @@ class CScannableParameters {
CAssetId x0_scanId; CAssetId x0_scanId;
public: public:
CScannableParameters() = default; constexpr CScannableParameters() = default;
CScannableParameters(CAssetId id) : x0_scanId(id) {} constexpr explicit CScannableParameters(CAssetId id) : x0_scanId(id) {}
CAssetId GetScanId() const { return x0_scanId; } [[nodiscard]] constexpr CAssetId GetScanId() const { return x0_scanId; }
}; };
} // namespace urde } // namespace urde