Remove broken assert
Fixes compile issue for linux/gcc which expects a boolean in the assert statement that it cannot find from std::map
This commit is contained in:
parent
04771bca9d
commit
11ae5b75b7
|
@ -1219,7 +1219,6 @@ void SIM_PLOT_FRAME::menuSaveCsv( wxCommandEvent& event )
|
||||||
wxFFile out( saveDlg.GetPath(), "wb" );
|
wxFFile out( saveDlg.GetPath(), "wb" );
|
||||||
|
|
||||||
std::map<wxString, TRACE *> traces = GetCurrentPlot()->GetTraces();
|
std::map<wxString, TRACE *> traces = GetCurrentPlot()->GetTraces();
|
||||||
assert(traces);
|
|
||||||
|
|
||||||
if( traces.size() == 0 )
|
if( traces.size() == 0 )
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue