Skip to content

Commit 7ac2831

Browse files
pskiran1whoisj
andauthored
Update src/stub_launcher.h
Co-authored-by: J Wyman <jwyman@nvidia.com>
1 parent d317a09 commit 7ac2831

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/stub_launcher.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ class StubLauncher {
141141
// Returns false if not set yet (safe default).
142142
bool HasUserModelReadinessFunction() const
143143
{
144-
return ipc_control_ ? ipc_control_->stub_has_user_model_readiness_fn
145-
: false;
144+
return ipc_control_ && ipc_control_->stub_has_user_model_readiness_fn;
146145
}
147146

148147
// Destruct Stub process

0 commit comments

Comments
 (0)