Revision 9734a743 host/include/uhd/utils/msg.hpp

b/host/include/uhd/utils/msg.hpp
27 27
 * Usage: UHD_MSG(warning) << "some warning message" << std::endl;
28 28
 */
29 29
#define UHD_MSG(type) \
30
    uhd::msg::_msg(uhd::msg::type)
30
    uhd::msg::_msg(uhd::msg::type)()
31 31

  
32 32

  
33 33
namespace uhd{ namespace msg{
......
55 55
    struct UHD_API_FUTURE _msg{
56 56
        _msg(const type_t type);
57 57
        ~_msg(void);
58

  
59
        std::ostream &get(void);
60

  
61
        template <typename T> std::ostream &operator<<(const T &x){
62
            return get() << x;
63
        }
58
        std::ostream &operator()(void);
64 59
    };
65 60

  
66 61
}} //namespace uhd::msg

Also available in: Unified diff