aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-04-13 08:47:22 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-04-13 08:47:22 -0400
commit8b0f74445b509d8e59ec89854f2e149ad1948d4e (patch)
treece7e6a7a62468ed88e885d1fff64e72eb18db433 /src/common.cpp
parent51f57a9eb06cd0a4a967915ee60a323fc85fafba (diff)
parentfa4b6e00fd204998f6011420bdad60477b7a2f12 (diff)
Merge branch 'master' of https://github.com/tcsullivan/gamedev
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.cpp b/src/common.cpp
index b4258f6..8f59fba 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -81,7 +81,7 @@ const char *readFile(const char *path){
unsigned int size;
GLchar *buf;
- if ( !in.is_open() )
+ if (!in.is_open())
UserError("Error reading file " + (std::string)path + "!");
in.seekg(0,in.end);
@@ -95,7 +95,7 @@ const char *readFile(const char *path){
}
void
-UserError( std::string reason )
+UserError(std::string reason)
{
std::cout << "User error: " << reason << "!" << std::endl;
abort();