Skip to content

Commit 80a8329

Browse files
committed
fix wrong exception construction usage
1 parent fccf26f commit 80a8329

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tabcontrollers/audiomanager/AudioManagerWindows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void AudioManagerWindows::init( AudioTabController* var_controller )
4444
audioDeviceEnumerator = getAudioDeviceEnumerator();
4545
if ( !audioDeviceEnumerator )
4646
{
47-
throw std::exception( "Could not create audio device enumerator" );
47+
throw std::runtime_error( "Could not create audio device enumerator" );
4848
}
4949
playbackAudioDevice = getDefaultPlaybackDevice( audioDeviceEnumerator );
5050
if ( !playbackAudioDevice )

0 commit comments

Comments
 (0)