summaryrefslogtreecommitdiff
path: root/src/wx/audio_mapping_view.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-20 00:53:40 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-20 00:53:40 +0100
commit0da7c88a1afb221f97e2e96c159b1a984e4e2f71 (patch)
tree558590d5ad0a2ced262c2142915b738d898ddbf0 /src/wx/audio_mapping_view.cc
parent4a677ee9e750efc330c29df69f19dae27f09aa4d (diff)
parentda38ed791a5a46a97b26947409cf837b7939fd54 (diff)
Merge master; fix destruction of Server; some test cleanups.
Diffstat (limited to 'src/wx/audio_mapping_view.cc')
-rw-r--r--src/wx/audio_mapping_view.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/audio_mapping_view.cc b/src/wx/audio_mapping_view.cc
index c65eadd5a..8e92400bd 100644
--- a/src/wx/audio_mapping_view.cc
+++ b/src/wx/audio_mapping_view.cc
@@ -25,6 +25,7 @@
#include <wx/renderer.h>
#include <wx/grid.h>
#include <dcp/types.h>
+#include <dcp/raw_convert.h>
#include "lib/audio_mapping.h"
#include "lib/util.h"
#include "audio_mapping_view.h"
@@ -246,7 +247,7 @@ AudioMappingView::update_cells ()
_grid->SetCellValue (i, 0, wxString::Format (wxT("%d"), i + 1));
for (int j = 1; j < _grid->GetNumberCols(); ++j) {
- _grid->SetCellValue (i, j, std_to_wx (lexical_cast<string> (_map.get (i, static_cast<dcp::Channel> (j - 1)))));
+ _grid->SetCellValue (i, j, std_to_wx (dcp::raw_convert<string> (_map.get (i, static_cast<dcp::Channel> (j - 1)))));
}
}