aboutsummaryrefslogtreecommitdiffstats
path: root/common/kernel/property.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-11-10 10:57:41 +0100
committergatecat <gatecat@ds0.me>2022-11-10 10:57:41 +0100
commit8a69bd0735dcdce0d19f999725ec132236011833 (patch)
treea4ee95968e016e71dfd022c38040dcf0c130f836 /common/kernel/property.h
parent6930ab3acd6be88c0533785691f24ef5460000c6 (diff)
downloadnextpnr-8a69bd0735dcdce0d19f999725ec132236011833.tar.gz
nextpnr-8a69bd0735dcdce0d19f999725ec132236011833.tar.bz2
nextpnr-8a69bd0735dcdce0d19f999725ec132236011833.zip
Fix "implicit copy constructor for 'Property' is deprecated"
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common/kernel/property.h')
-rw-r--r--common/kernel/property.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/kernel/property.h b/common/kernel/property.h
index 814b2cac..2ff085ec 100644
--- a/common/kernel/property.h
+++ b/common/kernel/property.h
@@ -46,6 +46,7 @@ struct Property
Property(const std::string &strval);
Property(State bit);
Property &operator=(const Property &other) = default;
+ Property(const Property &other) = default;
bool is_string;