aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index c0f1c7fa8..7ca449f46 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -999,7 +999,7 @@ struct RTLIL::Design
void scratchpad_set_int(const std::string &varname, int value);
void scratchpad_set_bool(const std::string &varname, bool value);
- void scratchpad_set_string(const std::string &varname, const std::string &value);
+ void scratchpad_set_string(const std::string &varname, std::string value);
int scratchpad_get_int(const std::string &varname, int default_value = 0) const;
bool scratchpad_get_bool(const std::string &varname, bool default_value = false) const;