diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2019-04-19 16:42:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-19 16:42:21 -0700 |
commit | f9dab27de3f3a77650199da487dd450a49ed35b2 (patch) | |
tree | 15ff3f0b9d15dc18cd56ffd637f9d177e887a60d /tests/json/test_json.cc | |
parent | cf35baa1ad70f0dca734f93bcc2b54d8d059bcdd (diff) | |
parent | 151ebc8a2925bca5210ac447156a6a783f1d9337 (diff) |
Merge pull request #164 from haberman/oneofcase
Fixed oneof case accessor to cast to enum for C++.
Diffstat (limited to 'tests/json/test_json.cc')
-rw-r--r-- | tests/json/test_json.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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" |