Remove usage of CHECK_NOTNULL
We want to switch to absl logging instead of glog. gtest and ceres are
going there, and we already have absl as a dependency. ABSL doesn't
have CHECK_NOTNULL, and we can move things over in an easier to review
fashion.
Change-Id: Ifd9a11ec34a2357cec43f88dba015db9c28ed2cf
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/aos/network/message_bridge_test.cc b/aos/network/message_bridge_test.cc
index 2dac8ed..350cf26 100644
--- a/aos/network/message_bridge_test.cc
+++ b/aos/network/message_bridge_test.cc
@@ -1368,8 +1368,9 @@
std::make_unique<aos::ShmEventLoop>(&config_.message());
pi2_.client_event_loop_->SetRuntimeRealtimePriority(1);
- const aos::Node *const remote_node = CHECK_NOTNULL(configuration::GetNode(
- pi2_.client_event_loop_->configuration(), "pi1"));
+ const aos::Node *const remote_node =
+ configuration::GetNode(pi2_.client_event_loop_->configuration(), "pi1");
+ CHECK(remote_node != nullptr);
const aos::FlatbufferDetachedBuffer<aos::message_bridge::Connect>
connect_message(MakeConnectMessage(