Use struct instead of class for forward declaration of CrashReason as we define it...
author <shinichiro.hamaji@gmail.com> <>
Tue, 7 Apr 2009 09:03:16 +0000 (09:03 +0000)
committer <shinichiro.hamaji@gmail.com> <>
Tue, 7 Apr 2009 09:03:16 +0000 (09:03 +0000)
git-svn-id: https://google-glog.googlecode.com/svn/trunk@44 eb4d4688-79bd-11dd-afb4-1d65580434c0

src/glog/logging.h.in
src/windows/glog/logging.h

index 463dc37..8e8af78 100644 (file)
@@ -840,7 +840,7 @@ namespace glog_internal_namespace_ {
 template <bool>
 struct CompileAssert {
 };
-class CrashReason;
+struct CrashReason;
 }  // namespace glog_internal_namespace_
 
 #define GOOGLE_GLOG_COMPILE_ASSERT(expr, msg) \
index 26ed501..76017e2 100755 (executable)
@@ -844,7 +844,7 @@ namespace glog_internal_namespace_ {
 template <bool>
 struct CompileAssert {
 };
-class CrashReason;
+struct CrashReason;
 }  // namespace glog_internal_namespace_
 
 #define GOOGLE_GLOG_COMPILE_ASSERT(expr, msg) \