From 4dbc6ef917aeceb906b1ef1caf6911033e7e2c54 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 20 Dec 2014 23:37:57 +0000 Subject: Hand-apply d849d411cff28ef5453085791d0b4d7cd73bd070 from master; replace all assert()s with thrown exceptions. --- src/wx/kdm_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wx/kdm_dialog.cc') diff --git a/src/wx/kdm_dialog.cc b/src/wx/kdm_dialog.cc index 6a1f8051f..9b1d6bc98 100644 --- a/src/wx/kdm_dialog.cc +++ b/src/wx/kdm_dialog.cc @@ -472,7 +472,7 @@ boost::filesystem::path KDMDialog::cpl () const { int const item = _cpl->GetSelection (); - assert (item >= 0); + DCPOMATIC_ASSERT (item >= 0); return _cpls[item].cpl_file; } -- cgit v1.2.3