mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-04 14:08:30 +00:00
MSVC: remove MemLeak build support
There are better memleak detection tools. 1) Requires to guard placement new and external libs 2) Doesn't work thoroughly
This commit is contained in:
parent
6c1b6c1704
commit
41ee792f95
20 changed files with 8 additions and 181 deletions
|
|
@ -170,7 +170,6 @@ inline FT build_function_asm(F&& builder)
|
|||
#include "util/types.hpp"
|
||||
#include "mutex.h"
|
||||
|
||||
#include "restore_new.h"
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push, 0)
|
||||
#else
|
||||
|
|
@ -187,7 +186,6 @@ inline FT build_function_asm(F&& builder)
|
|||
#else
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
#include "define_new_memleakdetect.h"
|
||||
|
||||
// Temporary compiler interface
|
||||
class jit_compiler final
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "stdafx.h"
|
||||
#include "restore_new.h"
|
||||
#include "Utilities/rXml.h"
|
||||
#include "define_new_memleakdetect.h"
|
||||
|
||||
rXmlNode::rXmlNode() : handle()
|
||||
{
|
||||
|
|
@ -54,7 +52,7 @@ std::string rXmlNode::GetAttribute(const std::string &name)
|
|||
|
||||
std::string rXmlNode::GetNodeContent()
|
||||
{
|
||||
return handle.text().get();
|
||||
return handle.text().get();
|
||||
}
|
||||
|
||||
rXmlDocument::rXmlDocument() : handle()
|
||||
|
|
@ -70,4 +68,3 @@ std::shared_ptr<rXmlNode> rXmlDocument::GetRoot()
|
|||
{
|
||||
return std::make_shared<rXmlNode>(handle.root());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue