aboutsummaryrefslogtreecommitdiffstats
path: root/common/property.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/property.h')
-rw-r--r--common/property.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/property.h b/common/property.h
index 79fbf881..7a377b97 100644
--- a/common/property.h
+++ b/common/property.h
@@ -78,7 +78,7 @@ struct Property
result.push_back(c == S1);
return result;
}
- std::string as_string() const
+ const std::string &as_string() const
{
NPNR_ASSERT(is_string);
return str;