Skip to content

Commit

Permalink
Clangformat.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjp41 committed Feb 29, 2020
1 parent 46ecb8b commit 453988b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/mem/largealloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ namespace snmalloc
# pragma GCC diagnostic ignored "-Wclass-memaccess"
#endif
// Put temporary allocator we have used, into the permanent storage.
// memcpy is safe as this is entirely single threaded: the move constructors
// were removed as unsafe to move std::atomic in a concurrent setting.
// memcpy is safe as this is entirely single threaded: the move
// constructors were removed as unsafe to move std::atomic in a
// concurrent setting.
memcpy(allocated, &local, sizeof(MemoryProviderStateMixin<PAL>));
#ifdef GCC_VERSION_EIGHT_PLUS
# pragma GCC diagnostic pop
Expand Down

0 comments on commit 453988b

Please sign in to comment.