Skip to content

Commit 68c758a

Browse files
authored
SuperVersion is a struct, not a class (#294)
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:
1 parent d394496 commit 68c758a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/snapshot_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class SnapshotImpl : public Snapshot {
5252
};
5353

5454
// RocksDB-Cloud contribution begin
55-
class SuperVersion;
55+
struct SuperVersion;
5656
class ColumnFamilyData;
5757
class SuperSnapshotImpl : public SnapshotImpl {
5858
public:

0 commit comments

Comments
 (0)