From 43603d85efe9cf825d1aa572d8314d1dc0b539bd Mon Sep 17 00:00:00 2001 From: Ramin Yaghoubzadeh <ryaghoubzadeh@uni-bielefeld.de> Date: Fri, 30 Jan 2015 16:38:53 +0100 Subject: [PATCH] De-inlined some stuff (might need some more). Removed handler message. --- ipaacalib/cpp/src/ipaaca-buffers.cc | 4 ++-- ipaacalib/cpp/src/ipaaca-payload.cc | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ipaacalib/cpp/src/ipaaca-buffers.cc b/ipaacalib/cpp/src/ipaaca-buffers.cc index ec39fb2..a738e6d 100644 --- a/ipaacalib/cpp/src/ipaaca-buffers.cc +++ b/ipaacalib/cpp/src/ipaaca-buffers.cc @@ -213,8 +213,8 @@ IPAACA_EXPORT void Buffer::register_handler(IUEventHandlerFunction function, IUE } IPAACA_EXPORT void Buffer::call_iu_event_handlers(boost::shared_ptr<IUInterface> iu, bool local, IUEventType event_type, const std::string& category) { - IPAACA_INFO("handling an event " << ipaaca::iu_event_type_to_str(event_type) << " for IU " << iu->uid()) - std::cout << "handling an event " << ipaaca::iu_event_type_to_str(event_type) << " for IU " << iu->uid() << std::endl; + //IPAACA_INFO("handling an event " << ipaaca::iu_event_type_to_str(event_type) << " for IU " << iu->uid()) + //std::cout << "handling an event " << ipaaca::iu_event_type_to_str(event_type) << " for IU " << iu->uid() << std::endl; for (std::vector<IUEventHandler::ptr>::iterator it = _event_handlers.begin(); it != _event_handlers.end(); ++it) { (*it)->call(this, iu, local, event_type, category); } diff --git a/ipaacalib/cpp/src/ipaaca-payload.cc b/ipaacalib/cpp/src/ipaaca-payload.cc index fdc1d61..23574f4 100644 --- a/ipaacalib/cpp/src/ipaaca-payload.cc +++ b/ipaacalib/cpp/src/ipaaca-payload.cc @@ -84,9 +84,10 @@ IPAACA_EXPORT PayloadEntryProxy& PayloadEntryProxy::operator=(bool value) return *this; } -IPAACA_EXPORT inline PayloadEntryProxy::operator std::string() +IPAACA_EXPORT PayloadEntryProxy::operator std::string() { - return PayloadEntryProxy::get<std::string>(); } + return PayloadEntryProxy::get<std::string>(); +} IPAACA_EXPORT inline PayloadEntryProxy::operator long() { return PayloadEntryProxy::get<long>(); -- GitLab