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
This commit is contained in:
parent
e8531d6b71
commit
8cf64cc167
@ -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) \
|
||||
|
||||
@ -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) \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user