commit | 26681fbdb77f6dfaf2f2613d4ad860a224e84b71 | [log] [tgz] |
---|---|---|
author | zeshuai007 <51382517@qq.com> | Wed Jun 03 17:24:38 2020 +0800 |
committer | Jens Geyer <jensg@apache.org> | Sun Jun 14 14:17:11 2020 +0200 |
tree | b742ea0959bd5e90e1748323a870291ef8ad8e9f | |
parent | 3f78c70bbba82c733b1545d39eb5b489ac384e4c [diff] [blame] |
THRIFT-5225: Use nullptr instead of NULL Patch: Zezeng Wang This closes #2168
diff --git a/contrib/fb303/cpp/FacebookBase.h b/contrib/fb303/cpp/FacebookBase.h index daa5246..e0be4bf 100644 --- a/contrib/fb303/cpp/FacebookBase.h +++ b/contrib/fb303/cpp/FacebookBase.h
@@ -65,7 +65,7 @@ virtual void reinitialize() {} virtual void shutdown() { - if (server_.get() != NULL) { + if (server_.get() != nullptr) { server_->stop(); } }