aboutsummaryrefslogtreecommitdiffstats
path: root/common/pywrappers.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/pywrappers.h')
-rw-r--r--common/pywrappers.h6
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