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;
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue