Commit 2df44f71 authored by Dominik Charousset's avatar Dominik Charousset

fixed type deduction for const references

parent 8972538d
...@@ -110,7 +110,7 @@ struct unbox_ref { ...@@ -110,7 +110,7 @@ struct unbox_ref {
template<typename T> template<typename T>
struct unbox_ref<std::reference_wrapper<T> > { struct unbox_ref<std::reference_wrapper<T> > {
typedef T type; typedef typename std::remove_const<T>::type type;
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment