summaryrefslogtreecommitdiff
path: root/stdafx.cpp
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2008-06-06 09:43:15 -0400
committerDwight <dmerriman@gmail.com>2008-06-06 09:43:15 -0400
commit3051b961cac30f9bf81ac72b816ddb5e8e3c2ee9 (patch)
tree85a5b1cb376b067eee5cf668d42deff78a870627 /stdafx.cpp
parent877b72efcdd55f9fc9b271c707d4b489e551793d (diff)
downloadmongo-3051b961cac30f9bf81ac72b816ddb5e8e3c2ee9.tar.gz
dos2unix
Diffstat (limited to 'stdafx.cpp')
-rw-r--r--stdafx.cpp66
1 files changed, 33 insertions, 33 deletions
diff --git a/stdafx.cpp b/stdafx.cpp
index 0d4d4346506..c61f9d1ab85 100644
--- a/stdafx.cpp
+++ b/stdafx.cpp
@@ -1,33 +1,33 @@
-// stdafx.cpp : source file that includes just the standard includes
-// db.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
-
-struct MyAsserts {
- MyAsserts() {
-
- }
-} myassertsstdafx;
-
-#undef assert
-
-#undef yassert
-#include "assert.h"
-
-void sayDbContext(const char *p = 0);
-
-void wasserted(const char *msg, const char *file, unsigned line) {
- problem() << "Assertion failure " << msg << ' ' << file << ' ' << line << endl;
- cout << "Assertion failure " << msg << endl;
- cout << ' ' << file << ' ' << line << endl;
- sayDbContext();
-}
-
-void asserted(const char *msg, const char *file, unsigned line) {
- wasserted(msg, file, line);
- throw AssertionException();
-}
+// stdafx.cpp : source file that includes just the standard includes
+// db.pch will be the pre-compiled header
+// stdafx.obj will contain the pre-compiled type information
+
+#include "stdafx.h"
+
+// TODO: reference any additional headers you need in STDAFX.H
+// and not in this file
+
+struct MyAsserts {
+ MyAsserts() {
+
+ }
+} myassertsstdafx;
+
+#undef assert
+
+#undef yassert
+#include "assert.h"
+
+void sayDbContext(const char *p = 0);
+
+void wasserted(const char *msg, const char *file, unsigned line) {
+ problem() << "Assertion failure " << msg << ' ' << file << ' ' << line << endl;
+ cout << "Assertion failure " << msg << endl;
+ cout << ' ' << file << ' ' << line << endl;
+ sayDbContext();
+}
+
+void asserted(const char *msg, const char *file, unsigned line) {
+ wasserted(msg, file, line);
+ throw AssertionException();
+}