mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
vm::ref: remove erroneous default constructor
This commit is contained in:
parent
63210449c6
commit
d862817485
1 changed files with 9 additions and 2 deletions
|
@ -5,6 +5,11 @@
|
||||||
|
|
||||||
#include "util/to_endian.hpp"
|
#include "util/to_endian.hpp"
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace vm
|
namespace vm
|
||||||
{
|
{
|
||||||
template <typename T, typename AT>
|
template <typename T, typename AT>
|
||||||
|
@ -24,8 +29,6 @@ namespace vm
|
||||||
using type = T;
|
using type = T;
|
||||||
using addr_type = std::remove_cv_t<AT>;
|
using addr_type = std::remove_cv_t<AT>;
|
||||||
|
|
||||||
_ref_base() = default;
|
|
||||||
|
|
||||||
_ref_base(const _ref_base&) = default;
|
_ref_base(const _ref_base&) = default;
|
||||||
|
|
||||||
_ref_base(vm::addr_t addr)
|
_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
|
// Change AT endianness to BE/LE
|
||||||
template<typename T, typename AT, bool Se>
|
template<typename T, typename AT, bool Se>
|
||||||
struct to_se<vm::_ref_base<T, AT>, Se>
|
struct to_se<vm::_ref_base<T, AT>, Se>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue