Skip to content

Commit

Permalink
SWB fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Penguinwizzard committed Jun 6, 2018
1 parent ed8e8b1 commit 7a9b9ea
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/Common/DataStructures/BaseDictionary.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ namespace JsDiag

namespace JsUtil
{
struct contentStruct
{
Field(int) cs;
};
class NoResizeLock
{
public:
Expand All @@ -53,9 +57,7 @@ namespace JsUtil
void _Releases_lock_(cs.cs) EndResize() {}
private:
// For prefast analysis, we need to have a somewhat similar shape for both locks
struct {
Field(int) cs;
} cs;
Field(contentStruct) cs;
};

class AsymetricResizeLock
Expand Down

0 comments on commit 7a9b9ea

Please sign in to comment.