mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 08:30:06 +02:00
Revert the reversion of the elegant fix of wrong MSVC compiler warning
This reverts commit 57c68d144e21b7c683de057f9c89a0045ba06a23.
This commit is contained in:
parent
ce697d052a
commit
5302dacf3d
@ -19,19 +19,13 @@ class wxDC;
|
||||
|
||||
#include <wx/mousestate.h>
|
||||
|
||||
// MSVC 2013 says this can't be instantiated - but in fact it can
|
||||
// using {} syntax.
|
||||
// As it's a bogus warning caused by a bug in MSVC2013, it's Ok to disable it.
|
||||
#pragma warning( push )
|
||||
#pragma warning( disable : 4510)
|
||||
#pragma warning( disable : 4610)
|
||||
|
||||
struct TrackPanelDrawingContext {
|
||||
wxDC &dc;
|
||||
UIHandlePtr target;
|
||||
wxMouseState lastState;
|
||||
|
||||
// This redundancy fixes an MSVC compiler warning:
|
||||
TrackPanelDrawingContext() = delete;
|
||||
};
|
||||
|
||||
#pragma warning( pop )
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user