From ed8e97e165020f3c24f1be7fc893267000fc6ee5 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Thu, 19 Oct 2023 09:51:35 +0000 Subject: [PATCH] SuperVersion is a struct, not a class 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: --- db/snapshot_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/snapshot_impl.h b/db/snapshot_impl.h index 529486fa1a5..4087c45280f 100644 --- a/db/snapshot_impl.h +++ b/db/snapshot_impl.h @@ -52,7 +52,7 @@ class SnapshotImpl : public Snapshot { }; // RocksDB-Cloud contribution begin -class SuperVersion; +struct SuperVersion; class ColumnFamilyData; class SuperSnapshotImpl : public SnapshotImpl { public: