]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/except.cpp
Don't throw on win32 if file has no owner or group
[libs/core.git] / source / core / except.cpp
index 90deb4071b68983d5f2c487fee8a2192f1bb42af..41fe3e8c597ecf5157af5f1fda2169ebce3b6545 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspcore
-Copyright © 2006-2008  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include <sstream>
 #include <cstring>
 #ifdef WIN32
@@ -20,14 +13,14 @@ Exception::Exception(const string &w):
        wot(w)
 {
 #ifdef WITH_EXCEPTION_BACKTRACE
-       bt=Debug::Backtrace::create();
+       bt = Debug::Backtrace::create();
 #endif
 }
 
 Exception &Exception::at(const std::string &w) throw()
 {
-       wer=w;
-       wot=wer+": "+wot;
+       wer = w;
+       wot = wer+": "+wot;
        return *this;
 }