Commit 77b1e3d0 authored by neverlord's avatar neverlord

minor bugfix

parent 07fbff85
...@@ -83,7 +83,7 @@ class message ...@@ -83,7 +83,7 @@ class message
template<typename... Args> template<typename... Args>
message::message(const actor_ptr& from, const channel_ptr& to, const Args&... args) message::message(const actor_ptr& from, const channel_ptr& to, const Args&... args)
: m_content(new msg_content(from, to, tuple<Args...>(args...))) : m_content(new msg_content(from, to, make_tuple(args...)))//tuple<Args...>(args...)))
{ {
} }
......
...@@ -42,7 +42,8 @@ struct chars_to_string ...@@ -42,7 +42,8 @@ struct chars_to_string
typedef typename util::replace_type<T, std::string, typedef typename util::replace_type<T, std::string,
std::is_same<T, const char*>, std::is_same<T, const char*>,
std::is_same<T, char*>, std::is_same<T, char*>,
is_array_of<T, char>>::type is_array_of<T, char>,
is_array_of<T, const char> >::type
subtype1; subtype1;
typedef typename util::replace_type<subtype1, std::u16string, typedef typename util::replace_type<subtype1, std::u16string,
......
...@@ -9,7 +9,8 @@ template<typename T> ...@@ -9,7 +9,8 @@ template<typename T>
struct is_legal_tuple_type struct is_legal_tuple_type
{ {
static const bool value = std::is_pointer<T>::value == false static const bool value = std::is_pointer<T>::value == false
&& std::is_reference<T>::value == false; && std::is_reference<T>::value == false
&& std::is_array<T>::value == false;
}; };
} } // namespace cppa::util } } // namespace cppa::util
......
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