diff options
author | Craig Tiller <ctiller@google.com> | 2017-01-12 14:27:01 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-01-12 14:27:01 -0800 |
commit | 81eceb31ccab4a91e84ef06833d43d8c9e49de0f (patch) | |
tree | 3ad86e985578debfea72647db18f1589e3e935ca /src/cpp | |
parent | 9d4fc31da4e86358ad02aa24ab86ed1ca82b9ee9 (diff) |
Remove bogus assert
Diffstat (limited to 'src/cpp')
-rw-r--r-- | src/cpp/common/core_codegen.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cpp/common/core_codegen.cc b/src/cpp/common/core_codegen.cc index a09e08ef4c..36e4c89354 100644 --- a/src/cpp/common/core_codegen.cc +++ b/src/cpp/common/core_codegen.cc @@ -163,8 +163,10 @@ gpr_timespec CoreCodegen::gpr_time_0(gpr_clock_type type) { return ::gpr_time_0(type); } -void CoreCodegen::assert_fail(const char* failed_assertion) { - gpr_log(GPR_ERROR, "assertion failed: %s", failed_assertion); +void CoreCodegen::assert_fail(const char* failed_assertion, const char* file, + int line) { + gpr_log(file, line, GPR_LOG_SEVERITY_ERROR, "assertion failed: %s", + failed_assertion); abort(); } |