Changeset 286 in pacpusframework for trunk/include/Pacpus


Ignore:
Timestamp:
Mar 26, 2014, 9:53:31 AM (11 years ago)
Author:
Marek Kurdej
Message:

Minor: fixed warnings.

Location:
trunk/include/Pacpus/kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/Pacpus/kernel/ComponentBase.h

    r281 r286  
    3030#include <Pacpus/kernel/XmlComponentConfig.h>
    3131
     32#include <boost/noncopyable.hpp>
    3233#include <boost/program_options/options_description.hpp>
    3334#include <boost/program_options/value_semantic.hpp>
     
    4950} // namespace boost
    5051
    51 namespace pacpus {
     52namespace pacpus
     53{
    5254
    5355class ComponentManager;
     
    6163class OutputInterface;
    6264
    63 using ::boost::program_options::value;
     65using boost::program_options::value;
    6466
    6567/// @brief Base class of a Pacpus component.
    6668class PACPUSLIB_API ComponentBase
     69    : boost::noncopyable
    6770{
    6871    friend class ComponentManager;
     
    133136
    134137    /// Returns an object permitting to add component parameters.
    135     ::boost::program_options::options_description_easy_init addParameters();
     138    boost::program_options::options_description_easy_init addParameters();
    136139   
    137140protected:
  • trunk/include/Pacpus/kernel/PacpusEvent.h

    r269 r286  
    204204} // namespace pacpus
    205205
    206 PACPUSLIB_API inline QDataStream & operator<<(QDataStream & out, pacpus::PacpusEvent & ev)
     206PACPUSLIB_API inline QDataStream & operator<<(QDataStream & out, pacpus::PacpusEvent& /*ev*/)
    207207{
    208208    /*return ev.streamOut(out);*/
     
    210210}
    211211
    212 PACPUSLIB_API inline QDataStream & operator>>(QDataStream & in, pacpus::PacpusEvent & ev)
     212PACPUSLIB_API inline QDataStream & operator>>(QDataStream & in, pacpus::PacpusEvent& /*ev*/)
    213213{
    214214    /*return ev.streamIn(in);*/
Note: See TracChangeset for help on using the changeset viewer.