Define typename in the Signal template for FreeBSD as well. I'm not sure why this is required (yet) but we may need it on other platforms as well.

Originally committed to SVN as r4916.
This commit is contained in:
Amar Takhar 2010-12-08 14:20:53 +00:00
parent 819a298246
commit 32bb692521

View file

@ -261,7 +261,7 @@ class Signal<void> : public detail::SignalBaseImpl<std::tr1::function<void ()> >
public:
Signal() { }
#ifdef _WIN32
#if defined(_WIN32) || defined(__FreeBSD__)
// MSVC incorrectly considers this not a template context due to it being fully
// specified, making typename invalid here
#define typename