summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-21 15:21:54 +0200
committermadmaxoft <github@xoft.cz>2014-07-21 17:40:44 +0200
commit9e7b9a4ebe815bd631d8b124e81f017fc7fa35a2 (patch)
tree47c4cfc892f646b830432a911f6aeaa95050b808 /src/main.cpp
parentCheckBasicStyle: Checks spaces after keywords, no space before ")". (diff)
downloadcuberite-9e7b9a4ebe815bd631d8b124e81f017fc7fa35a2.tar
cuberite-9e7b9a4ebe815bd631d8b124e81f017fc7fa35a2.tar.gz
cuberite-9e7b9a4ebe815bd631d8b124e81f017fc7fa35a2.tar.bz2
cuberite-9e7b9a4ebe815bd631d8b124e81f017fc7fa35a2.tar.lz
cuberite-9e7b9a4ebe815bd631d8b124e81f017fc7fa35a2.tar.xz
cuberite-9e7b9a4ebe815bd631d8b124e81f017fc7fa35a2.tar.zst
cuberite-9e7b9a4ebe815bd631d8b124e81f017fc7fa35a2.zip
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 93fa6af91..106233342 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -281,11 +281,11 @@ int main( int argc, char **argv)
Root.Start();
}
#if !defined(ANDROID_NDK)
- catch( std::exception& e)
+ catch (std::exception & e)
{
LOGERROR("Standard exception: %s", e.what());
}
- catch( ...)
+ catch (...)
{
LOGERROR("Unknown exception!");
}