Skip to content

Commit 53795d3

Browse files
Rename to EnsureAndRetainSystemState
1 parent 73fbfc3 commit 53795d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/controller/CHIPDeviceControllerFactory.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ bool DeviceControllerFactory::ReleaseSystemState()
388388
return mSystemState->Release();
389389
}
390390

391-
CHIP_ERROR DeviceControllerFactory::InitAndRetainSystemState()
391+
CHIP_ERROR DeviceControllerFactory::EnsureAndRetainSystemState()
392392
{
393393
ReturnErrorOnFailure(ReinitSystemStateIfNecessary());
394394
RetainSystemState();

src/controller/CHIPDeviceControllerFactory.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class DeviceControllerFactory
210210
bool ReleaseSystemState();
211211

212212
// Like RetainSystemState(), but will re-initialize the system state first if necessary.
213-
CHIP_ERROR InitAndRetainSystemState();
213+
CHIP_ERROR EnsureAndRetainSystemState();
214214

215215
//
216216
// Retrieve a read-only pointer to the system state object that contains pointers to key stack

0 commit comments

Comments
 (0)