Skip to content

Commit

Permalink
Use struct instead of class for forward declaration of CrashReason as…
Browse files Browse the repository at this point in the history
… we define it as struct.

git-svn-id: https://google-glog.googlecode.com/svn/trunk@44 eb4d4688-79bd-11dd-afb4-1d65580434c0
  • Loading branch information
shinh committed Apr 7, 2009
1 parent e8531d6 commit 8cf64cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/glog/logging.h.in
Expand Up @@ -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) \
Expand Down
2 changes: 1 addition & 1 deletion src/windows/glog/logging.h
Expand Up @@ -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) \
Expand Down

0 comments on commit 8cf64cc

Please sign in to comment.