Indentation
This commit is contained in:
@@ -66,7 +66,8 @@ void SenseApiManager::registerSenseApi(const SenseApiInstance& apiInstance)
|
|||||||
senseApiInstances.begin(), senseApiInstances.end(),
|
senseApiInstances.begin(), senseApiInstances.end(),
|
||||||
[&apiInstance](const std::unique_ptr<SenseApiInstance>& instance) {
|
[&apiInstance](const std::unique_ptr<SenseApiInstance>& instance) {
|
||||||
return static_cast<const SenseApiInstance&>(*instance) == apiInstance;
|
return static_cast<const SenseApiInstance&>(*instance) == apiInstance;
|
||||||
});
|
}
|
||||||
|
);
|
||||||
|
|
||||||
if (it != senseApiInstances.end())
|
if (it != senseApiInstances.end())
|
||||||
{
|
{
|
||||||
@@ -84,7 +85,8 @@ void SenseApiManager::unregisterSenseApi(const SenseApiInstance& apiInstance)
|
|||||||
senseApiInstances.begin(), senseApiInstances.end(),
|
senseApiInstances.begin(), senseApiInstances.end(),
|
||||||
[&apiInstance](const std::unique_ptr<SenseApiInstance>& instance) {
|
[&apiInstance](const std::unique_ptr<SenseApiInstance>& instance) {
|
||||||
return const_cast<const SenseApiInstance&>(*instance) == apiInstance;
|
return const_cast<const SenseApiInstance&>(*instance) == apiInstance;
|
||||||
});
|
}
|
||||||
|
);
|
||||||
|
|
||||||
if (it != senseApiInstances.end()) {
|
if (it != senseApiInstances.end()) {
|
||||||
senseApiInstances.erase(it);
|
senseApiInstances.erase(it);
|
||||||
|
|||||||
Reference in New Issue
Block a user