Fix MSVC build of SerialStorage.h.

Use "protected" rather than "private" for the using declarations.

Bug: dawn:544
Change-Id: I1166016fd11d9e2b512f08194f4f4c3f628d0c27
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/29845
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
Stephen White 2020-10-08 22:14:39 +00:00 committed by Commit Bot service account
parent 4876496f99
commit 793a07e366
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ struct SerialStorageTraits {};
template <typename Derived> template <typename Derived>
class SerialStorage { class SerialStorage {
private: protected:
using Serial = typename SerialStorageTraits<Derived>::Serial; using Serial = typename SerialStorageTraits<Derived>::Serial;
using Value = typename SerialStorageTraits<Derived>::Value; using Value = typename SerialStorageTraits<Derived>::Value;
using Storage = typename SerialStorageTraits<Derived>::Storage; using Storage = typename SerialStorageTraits<Derived>::Storage;