1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-08 04:20:09 +00:00

Introjucer: fixed C++98 compiler error caused by Value having no move assignment operator in C++98 and a private copy assignment operator.

This commit is contained in:
Timur Doumler 2015-08-12 15:15:23 +01:00
parent 4ffa06ea31
commit 36001a6ff3

View file

@ -116,7 +116,7 @@ void PathSettingsTab::resized()
//==============================================================================
Value& PathSettingsTab::getPathByKey (const String& key, DependencyPathOS os)
{
getAppSettings().pathValues[key] = getAppSettings().projectDefaults.getPropertyAsValue (key, nullptr);
getAppSettings().pathValues[key].referTo (getAppSettings().projectDefaults.getPropertyAsValue (key, nullptr));
Value& value = getAppSettings().pathValues[key];
if (value.toString().isEmpty())