]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/RadioButtonGroup.C
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / RadioButtonGroup.C
index ecc5369754d04a4c1e356996f3009c6610ceb366..cdaa0906aae2988ea164862c385cf8535da4af10 100644 (file)
@@ -21,6 +21,8 @@
 
 #include "lyx_forms.h"
 
+#include <boost/assert.hpp>
+
 using std::endl;
 
 
@@ -70,8 +72,8 @@ void RadioButtonGroup::set(FL_OBJECT * ob) const
 }
 
 
-template < typename T >
-struct is_set_button {
+template <typename T>
+struct is_set_button : public std::unary_function<T, bool> {
        bool operator() (T const & item) const
        {
                return fl_get_button((item).first);