mirror of
https://github.com/JupiterBroadcasting/CasterSoundboard.git
synced 2025-10-29 11:36:26 +00:00
OscBundle.cpp: fix misleading-indentation warnings
Removed a few spaces before throwing exceptions so that the following warnings aren't raised while compiling OscBundle.cpp: ``` warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] ``` ``` note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ ```
This commit is contained in:
parent
f9e30e0d64
commit
8525ab5ed7
@ -91,7 +91,7 @@ OscBundle* OscBundle::getBundle(qint32 index)
|
||||
{
|
||||
if (dynamic_cast<OscBundle*>(mContentList[index]) != 0)
|
||||
return dynamic_cast<OscBundle*>(mContentList[index]);
|
||||
throw GetBundleException();
|
||||
throw GetBundleException();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -105,5 +105,5 @@ OscMessage* OscBundle::getMessage(qint32 index)
|
||||
{
|
||||
if (dynamic_cast<OscMessage*>(mContentList[index]) != 0)
|
||||
return dynamic_cast<OscMessage*>(mContentList[index]);
|
||||
throw GetMessageException();
|
||||
throw GetMessageException();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user