mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-23 07:40:05 +02:00
Revert "A more elegant fix of an (incorrect) MSVC compiler warning..."
Because it might be what make AppVeyor choke. This reverts commit 2c3331424b33154b40c4c75e479659e41f0e871f.
This commit is contained in:
parent
6967925e48
commit
57c68d144e
@ -19,13 +19,19 @@ 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