Commit 8cf64cc1 authored by 's avatar

Use struct instead of class for forward declaration of CrashReason as we define it as struct.


git-svn-id: https://google-glog.googlecode.com/svn/trunk@44 eb4d4688-79bd-11dd-afb4-1d65580434c0
parent e8531d6b
...@@ -840,7 +840,7 @@ namespace glog_internal_namespace_ { ...@@ -840,7 +840,7 @@ namespace glog_internal_namespace_ {
template <bool> template <bool>
struct CompileAssert { struct CompileAssert {
}; };
class CrashReason; struct CrashReason;
} // namespace glog_internal_namespace_ } // namespace glog_internal_namespace_
#define GOOGLE_GLOG_COMPILE_ASSERT(expr, msg) \ #define GOOGLE_GLOG_COMPILE_ASSERT(expr, msg) \
......
...@@ -844,7 +844,7 @@ namespace glog_internal_namespace_ { ...@@ -844,7 +844,7 @@ namespace glog_internal_namespace_ {
template <bool> template <bool>
struct CompileAssert { struct CompileAssert {
}; };
class CrashReason; struct CrashReason;
} // namespace glog_internal_namespace_ } // namespace glog_internal_namespace_
#define GOOGLE_GLOG_COMPILE_ASSERT(expr, msg) \ #define GOOGLE_GLOG_COMPILE_ASSERT(expr, msg) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment