Get optional string support in cppgir
This commit is contained in:
parent
dfe36f638b
commit
12eed5f433
4 changed files with 8 additions and 4 deletions
|
@ -241,7 +241,11 @@ void LinuxIntegration::initInhibit() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto uniqueName = _inhibitProxy.get_connection().get_unique_name();
|
auto uniqueName = _inhibitProxy
|
||||||
|
.get_connection()
|
||||||
|
.get_unique_name()
|
||||||
|
.value_or("");
|
||||||
|
|
||||||
uniqueName.erase(0, 1);
|
uniqueName.erase(0, 1);
|
||||||
uniqueName.replace(uniqueName.find('.'), 1, 1, '_');
|
uniqueName.replace(uniqueName.find('.'), 1, 1, '_');
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 1726a4fda092f910928f0e29eac358fc546d54a5
|
Subproject commit e497dc134de3f8e2933ee0acdbba8bd702ce2130
|
|
@ -1 +1 @@
|
||||||
Subproject commit ebb8b8b91fe357b2c397a3eb98655c585b8c856e
|
Subproject commit 5850566934f2f6cae56646c36cb95f85c8a9c752
|
2
cmake
2
cmake
|
@ -1 +1 @@
|
||||||
Subproject commit 002093a8d0133f33758a8e559f53bef21175209b
|
Subproject commit 92e35993aa437ee212f677c96a717078124cfd65
|
Loading…
Reference in a new issue