1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 14:18:53 +02:00

Removed some per-file memory allocation debugging that is not needed (and generates warnings) now that we do it from AudacityHeaders.h

This commit is contained in:
james.k.crook@gmail.com 2014-01-13 21:21:14 +00:00
parent 396486d3a6
commit 30e6a3dec4
6 changed files with 2 additions and 42 deletions

View File

@ -25,14 +25,6 @@ License: GPL v2. See License.txt.
#include <wx/file.h>
#ifdef _DEBUG
#ifdef _MSC_VER
#undef THIS_FILE
static char*THIS_FILE= __FILE__;
#define new new(_NORMAL_BLOCK, THIS_FILE, __LINE__)
#endif
#endif
#define UFILE_PROTOCOL "ufile"
#if !defined(USE_FFMPEG)

View File

@ -65,14 +65,6 @@
#include <wx/combobox.h>
#include <wx/display.h>
#ifdef _DEBUG
#ifdef _MSC_VER
#undef THIS_FILE
static char*THIS_FILE= __FILE__;
#define new new(_NORMAL_BLOCK, THIS_FILE, __LINE__)
#endif
#endif
static const wxChar *DefaultGenres[] =
{
wxT("Blues"),

View File

@ -788,7 +788,7 @@ void TrackList::ResizedEvent(const TrackListNode *node)
void TrackList::Add(Track * t)
{
TrackListNode *n = new TrackListNode();
TrackListNode *n = new TrackListNode;
t->SetOwner(this, n);
n->t = (Track *) t;
@ -810,7 +810,7 @@ void TrackList::Add(Track * t)
void TrackList::AddToHead(Track * t)
{
TrackListNode *n = new TrackListNode();
TrackListNode *n = new TrackListNode;
t->SetOwner(this, n);
n->t = (Track *) t;

View File

@ -229,14 +229,6 @@ WX_DEFINE_OBJARRAY(TrackClipArray);
#include "../images/Cursors.h"
#include <iostream>
#ifdef _DEBUG
#ifdef _MSC_VER
#undef THIS_FILE
static char*THIS_FILE= __FILE__;
#define new new(_NORMAL_BLOCK, THIS_FILE, __LINE__)
#endif
#endif
#define kLeftInset 4
#define kTopInset 4
#define kTimerInterval 50 // milliseconds

View File

@ -97,14 +97,6 @@
#include <id3tag.h>
#endif
#ifdef _DEBUG
#ifdef _MSC_VER
#undef THIS_FILE
static char*THIS_FILE= __FILE__;
#define new new(_NORMAL_BLOCK, THIS_FILE, __LINE__)
#endif
#endif
//----------------------------------------------------------------------------
// ExportMP3Options
//----------------------------------------------------------------------------

View File

@ -177,14 +177,6 @@ different formats.
#include <wx/tooltip.h>
#include <wx/toplevel.h>
#ifdef _DEBUG
#ifdef _MSC_VER
#undef THIS_FILE
static char*THIS_FILE= __FILE__;
#define new new(_NORMAL_BLOCK, THIS_FILE, __LINE__)
#endif
#endif
//
// ----------------------------------------------------------------------------
// TimeField Class