Skip to content

Commit

Permalink
SuperVersion is a struct, not a class (#294)
Browse files Browse the repository at this point in the history
Summary:
```
./db/snapshot_impl.h:55:1: error: class 'SuperVersion' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
```

Test Plan:

Reviewers:
  • Loading branch information
igorcanadi authored Oct 19, 2023
1 parent d394496 commit 68c758a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/snapshot_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class SnapshotImpl : public Snapshot {
};

// RocksDB-Cloud contribution begin
class SuperVersion;
struct SuperVersion;
class ColumnFamilyData;
class SuperSnapshotImpl : public SnapshotImpl {
public:
Expand Down

0 comments on commit 68c758a

Please sign in to comment.