Refactor INetworkDriver::PopEvent to use network event as output parameter rather than raw pointer
#1992
This commit is contained in:
@@ -18,7 +18,7 @@ private:
|
||||
#elif USE_NETCORE
|
||||
void* _handle;
|
||||
StringAnsi _name;
|
||||
StringAnsi _namespace_;
|
||||
StringAnsi _namespace;
|
||||
uint32 _types = 0;
|
||||
mutable uint32 _size = 0;
|
||||
#endif
|
||||
|
||||
@@ -836,7 +836,7 @@ bool MAssembly::UnloadImage(bool isReloading)
|
||||
MClass::MClass(const MAssembly* parentAssembly, void* handle, const char* name, const char* fullname, const char* namespace_, MTypeAttributes attributes)
|
||||
: _handle(handle)
|
||||
, _name(name)
|
||||
, _namespace_(namespace_)
|
||||
, _namespace(namespace_)
|
||||
, _assembly(parentAssembly)
|
||||
, _fullname(fullname)
|
||||
, _hasCachedProperties(false)
|
||||
@@ -915,7 +915,7 @@ StringAnsiView MClass::GetName() const
|
||||
|
||||
StringAnsiView MClass::GetNamespace() const
|
||||
{
|
||||
return _namespace_;
|
||||
return _namespace;
|
||||
}
|
||||
|
||||
MType* MClass::GetType() const
|
||||
|
||||
Reference in New Issue
Block a user