1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 20:22:30 +01:00

vm::ref: remove erroneous default constructor

This commit is contained in:
Nekotekina 2021-05-30 23:23:56 +03:00
parent 63210449c6
commit d862817485

View File

@ -5,6 +5,11 @@
#include "util/to_endian.hpp"
#ifndef _MSC_VER
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#endif
namespace vm
{
template <typename T, typename AT>
@ -24,8 +29,6 @@ namespace vm
using type = T;
using addr_type = std::remove_cv_t<AT>;
_ref_base() = default;
_ref_base(const _ref_base&) = default;
_ref_base(vm::addr_t addr)
@ -178,6 +181,10 @@ namespace vm
}
}
#ifndef _MSC_VER
#pragma GCC diagnostic pop
#endif
// Change AT endianness to BE/LE
template<typename T, typename AT, bool Se>
struct to_se<vm::_ref_base<T, AT>, Se>