Merge pull request #7600 from dgquintas/fix_includes

fixed include guard script and faulty .h
pull/5803/head^2
Nicolas Noble 8 years ago committed by GitHub
commit 6a4397eb33
  1. 5
      include/grpc++/impl/codegen/core_codegen.h
  2. 2
      tools/distrib/check_include_guards.py

@ -31,6 +31,9 @@
*
*/
#ifndef GRPCXX_IMPL_CODEGEN_CORE_CODEGEN_H
#define GRPCXX_IMPL_CODEGEN_CORE_CODEGEN_H
// This file should be compiled as part of grpc++.
#include <grpc++/impl/codegen/core_codegen_interface.h>
@ -83,3 +86,5 @@ class CoreCodegen : public CoreCodegenInterface {
};
} // namespace grpc
#endif // GRPCXX_IMPL_CODEGEN_CORE_CODEGEN_H

@ -200,6 +200,6 @@ validator = GuardValidator()
for filename in filename_list:
if filename in KNOWN_BAD: continue
ok = validator.check(filename, args.fix)
ok = ok and validator.check(filename, args.fix)
sys.exit(0 if ok else 1)

Loading…
Cancel
Save