Merge commit 'd6403991d49292d4f2b7d441636949472ca2b249'
All checks were successful
Build / build (push) Successful in 2m22s
All checks were successful
Build / build (push) Successful in 2m22s
This commit is contained in:
commit
05d08a7687
@ -94,16 +94,16 @@ class Converter: public BaseConverter {
|
|||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
bool srcMatches(ox::CRStringView pSrcTypeName, int pSrcTypeVersion) const noexcept final {
|
bool srcMatches(ox::CRStringView pSrcTypeName, int pSrcTypeVersion) const noexcept final {
|
||||||
static const auto SrcTypeName = ox::requireModelTypeName<SrcType>();
|
constexpr auto SrcTypeName = ox::requireModelTypeName<SrcType>();
|
||||||
static const auto SrcTypeVersion = ox::requireModelTypeVersion<SrcType>();
|
constexpr auto SrcTypeVersion = ox::requireModelTypeVersion<SrcType>();
|
||||||
return pSrcTypeName == SrcTypeName
|
return pSrcTypeName == SrcTypeName
|
||||||
&& pSrcTypeVersion == SrcTypeVersion;
|
&& pSrcTypeVersion == SrcTypeVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
bool dstMatches(ox::CRStringView dstTypeName, int dstTypeVersion) const noexcept final {
|
bool dstMatches(ox::CRStringView dstTypeName, int dstTypeVersion) const noexcept final {
|
||||||
static const auto DstTypeName = ox::StringView(ox::requireModelTypeName<DstType>());
|
constexpr auto DstTypeName = ox::StringView(ox::requireModelTypeName<DstType>());
|
||||||
static const auto DstTypeVersion = ox::requireModelTypeVersion<DstType>();
|
constexpr auto DstTypeVersion = ox::requireModelTypeVersion<DstType>();
|
||||||
return dstTypeName == DstTypeName
|
return dstTypeName == DstTypeName
|
||||||
&& dstTypeVersion == DstTypeVersion;
|
&& dstTypeVersion == DstTypeVersion;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user