Skip to content
Permalink
Browse files

fix formatting

  • Loading branch information
woodser committed Feb 11, 2020
1 parent 2bfd9ec commit 506e5d7f0f491c283f598f5e0c45b33f7f81cba6
Showing with 4 additions and 4 deletions.
  1. +4 −4 contrib/epee/src/mlocker.cpp
@@ -106,9 +106,9 @@ namespace epee

size_t mlocker::get_page_size()
{
#if defined __EMSCRIPTEN__
#if defined __EMSCRIPTEN__
return 4096;
#endif
#endif

CRITICAL_REGION_LOCAL(mutex());
if (page_size == 0)
@@ -183,7 +183,7 @@ namespace epee
{
#if defined __EMSCRIPTEN__
return 0;
#endif
#endif

CRITICAL_REGION_LOCAL(mutex());
return map().size();
@@ -193,7 +193,7 @@ namespace epee
{
#if defined __EMSCRIPTEN__
return 0;
#endif
#endif

CRITICAL_REGION_LOCAL(mutex());
return num_locked_objects;

0 comments on commit 506e5d7

Please sign in to comment.
You can’t perform that action at this time.