diff options
author | David Shah <davey1576@gmail.com> | 2018-07-04 14:49:13 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-07-04 14:55:24 +0200 |
commit | f1bddc2852de2412e6ed9399edf269aaaea4b2e0 (patch) | |
tree | 736195cb7551716c8eb0ee34a85c5ce2bd2eb398 /common/pywrappers.h | |
parent | 46db5001234ff42cd5b94407c2122bbf0b2994df (diff) | |
download | nextpnr-f1bddc2852de2412e6ed9399edf269aaaea4b2e0.tar.gz nextpnr-f1bddc2852de2412e6ed9399edf269aaaea4b2e0.tar.bz2 nextpnr-f1bddc2852de2412e6ed9399edf269aaaea4b2e0.zip |
common: Remove deprecated global IdStrings
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'common/pywrappers.h')
-rw-r--r-- | common/pywrappers.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/pywrappers.h b/common/pywrappers.h index 0643eb0a..be274aad 100644 --- a/common/pywrappers.h +++ b/common/pywrappers.h @@ -129,15 +129,15 @@ template <typename T> struct conv_to_str template <typename T> struct deref_and_wrap { - inline ContextualWrapper<T&> operator()(Context *ctx, T *x) + inline ContextualWrapper<T &> operator()(Context *ctx, T *x) { if (x == nullptr) throw bad_wrap(); - return ContextualWrapper<T&>(ctx, *x); + return ContextualWrapper<T &>(ctx, *x); } using arg_type = T *; - using ret_type = ContextualWrapper<T&>; + using ret_type = ContextualWrapper<T &>; }; // Function wrapper |