From 151ebc8a2925bca5210ac447156a6a783f1d9337 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 19 Apr 2019 16:19:57 -0700 Subject: Fixed oneof case accessor to cast to enum for C++. --- tests/json/test_json.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/json/test_json.cc') diff --git a/tests/json/test_json.cc b/tests/json/test_json.cc index 3fddfb6..6650817 100644 --- a/tests/json/test_json.cc +++ b/tests/json/test_json.cc @@ -4,6 +4,7 @@ */ #include "tests/json/test.upbdefs.h" +#include "tests/json/test.upb.h" // Test that it compiles for C++. #include "tests/test_util.h" #include "tests/upb_test.h" #include "upb/handlers.h" -- cgit v1.2.3