Use quoted include.

pull/13171/head
Joshua Haberman 4 years ago
parent 69d99a247e
commit 1c8c16b9b1
  1. 2
      benchmark.py
  2. 2
      upb/json_decode.c
  3. 2
      upbc/main.cc

@ -53,7 +53,7 @@ def Benchmark(outbase, bench_cpu=True, runs=12):
baseline = "master"
bench_cpu = True
bench_cpu = False
if len(sys.argv) > 1:
baseline = sys.argv[1]

@ -909,7 +909,7 @@ static void jsondec_field(jsondec *d, upb_msg *msg, const upb_msgdef *m) {
return;
}
if (upb_fielddef_containingoneof(f) &&
if (upb_fielddef_realcontainingoneof(f) &&
upb_msg_whichoneof(msg, upb_fielddef_containingoneof(f))) {
jsondec_err(d, "More than one field for this oneof.");
}

@ -1,5 +1,5 @@
#include <google/protobuf/compiler/plugin.h>
#include "google/protobuf/compiler/plugin.h"
#include "upbc/generator.h"

Loading…
Cancel
Save