diff --git a/components/esm/esm3exteriorcellrefid.hpp b/components/esm/esm3exteriorcellrefid.hpp index fd6a9b128d..82d2e23b26 100644 --- a/components/esm/esm3exteriorcellrefid.hpp +++ b/components/esm/esm3exteriorcellrefid.hpp @@ -28,7 +28,8 @@ namespace ESM int32_t getX() const { return mX; } int32_t getY() const { return mY; } - friend inline constexpr auto tie(const ESM3ExteriorCellRefId& value) noexcept + friend inline constexpr std::tuple tie( + const ESM3ExteriorCellRefId& value) noexcept { return std::tie(value.mX, value.mY); } diff --git a/components/esm/indexrefid.hpp b/components/esm/indexrefid.hpp index 283126f90c..fc3f13451e 100644 --- a/components/esm/indexrefid.hpp +++ b/components/esm/indexrefid.hpp @@ -25,7 +25,8 @@ namespace ESM std::string toDebugString() const; - friend inline constexpr auto tie(const IndexRefId& value) noexcept + friend inline constexpr std::tuple tie( + const IndexRefId& value) noexcept { return std::tie(value.mRecordType, value.mValue); }