Skip to content

Commit

Permalink
Reformat code of gc_cpp.cc/h
Browse files Browse the repository at this point in the history
* include/gc_cpp.h: Reformat code (and comments).
* gc_cpp.cc: Likewise.
* include/gc_cpp.h (operator new): Replace if-then-else with switch.

Conflicts:

    include/gc_cpp.h
  • Loading branch information
ivmai committed May 11, 2015
1 parent 3379238 commit 3b6f4e9
Show file tree
Hide file tree
Showing 2 changed files with 192 additions and 190 deletions.
2 changes: 1 addition & 1 deletion gc_cpp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ built-in "new" and "delete".
#else
# define GC_DECL_NEW_THROW /* empty */
# define GC_DECL_DELETE_THROW /* empty */
#endif /* !GC_NEW_DELETE_NEED_THROW */
#endif // !GC_NEW_DELETE_NEED_THROW

#ifndef _MSC_VER

Expand Down
Loading

0 comments on commit 3b6f4e9

Please sign in to comment.