Re-throw exception slightly better.
authorCarl Hetherington <carl@carlh.net>
Sun, 9 May 2010 00:46:54 +0000 (00:46 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 9 May 2010 00:46:54 +0000 (00:46 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7084 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/io.cc

index 36cc25a31585b07f3e208f79e5354870680efd4c..f40cbafb2dca228e6a0e5c11d229e20e107db174 100644 (file)
@@ -383,7 +383,7 @@ IO::ensure_ports_locked (ChanCount count, bool clear, void* /*src*/)
 
                        catch (AudioEngine::PortRegistrationFailure& err) {
                                /* pass it on */
-                               throw AudioEngine::PortRegistrationFailure();
+                               throw;
                        }
 
                        _ports.add (port);