mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #279 from lioncash/constexpr
CScannableParameters: Mark CScannableParameters as constexpr
This commit is contained in:
commit
0db6f96a17
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue