mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
Remove user defined constructor for Runtime
This commit is contained in:
parent
9c8df09475
commit
46b4427d2e
@ -6,14 +6,6 @@
|
||||
|
||||
namespace Interpreter
|
||||
{
|
||||
Runtime::Runtime()
|
||||
: mContext(nullptr)
|
||||
, mCode(nullptr)
|
||||
, mCodeSize(0)
|
||||
, mPC(0)
|
||||
{
|
||||
}
|
||||
|
||||
int Runtime::getPC() const
|
||||
{
|
||||
return mPC;
|
||||
|
@ -14,15 +14,13 @@ namespace Interpreter
|
||||
|
||||
class Runtime
|
||||
{
|
||||
Context* mContext;
|
||||
const Type_Code* mCode;
|
||||
int mCodeSize;
|
||||
int mPC;
|
||||
Context* mContext = nullptr;
|
||||
const Type_Code* mCode = nullptr;
|
||||
int mCodeSize = 0;
|
||||
int mPC = 0;
|
||||
std::vector<Data> mStack;
|
||||
|
||||
public:
|
||||
Runtime();
|
||||
|
||||
int getPC() const;
|
||||
///< return program counter.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user