mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-17 07:13:27 +02:00
[1981139] initial value of reference to non-const must be an lvalue
This commit is contained in:
parent
0a1c616368
commit
97b9101d54
@ -365,7 +365,7 @@ std::string WinRegistryKey::key() const
|
||||
|
||||
std::string WinRegistryKey::key(const std::string& valueName) const
|
||||
{
|
||||
std::string& result = key();
|
||||
std::string result = key();
|
||||
if (!valueName.empty())
|
||||
{
|
||||
result += '\\';
|
||||
|
Loading…
x
Reference in New Issue
Block a user