Skip to content
Snippets Groups Projects
Commit 6a4397eb authored by Nicolas Noble's avatar Nicolas Noble Committed by GitHub
Browse files

Merge pull request #7600 from dgquintas/fix_includes

fixed include guard script and faulty .h
parents 329d6473 ffd207fe
No related branches found
No related tags found
Loading
...@@ -31,6 +31,9 @@ ...@@ -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++. // This file should be compiled as part of grpc++.
#include <grpc++/impl/codegen/core_codegen_interface.h> #include <grpc++/impl/codegen/core_codegen_interface.h>
...@@ -83,3 +86,5 @@ class CoreCodegen : public CoreCodegenInterface { ...@@ -83,3 +86,5 @@ class CoreCodegen : public CoreCodegenInterface {
}; };
} // namespace grpc } // namespace grpc
#endif // GRPCXX_IMPL_CODEGEN_CORE_CODEGEN_H
...@@ -200,6 +200,6 @@ validator = GuardValidator() ...@@ -200,6 +200,6 @@ validator = GuardValidator()
for filename in filename_list: for filename in filename_list:
if filename in KNOWN_BAD: continue 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) sys.exit(0 if ok else 1)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment