Changeset 231 in pacpusframework


Ignore:
Timestamp:
Nov 27, 2013, 1:30:18 PM (11 years ago)
Author:
Marek Kurdej
Message:

Fixed: Qt4 compilation on Linux

Location:
trunk/src/PacpusLib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/PacpusLib/ComponentBase.cpp

    r206 r231  
    2828std::basic_ostream<_Elem, _Traits> & operator<<(std::basic_ostream<_Elem, _Traits> & os, const boost::program_options::variables_map & vm)
    2929{
    30     for (po::variables_map::const_iterator i = vm.cbegin(); i != vm.cend(); ++i) {
     30    for (po::variables_map::const_iterator i = vm.begin(); i != vm.end(); ++i) {
    3131        const po::variable_value & v = i->second;
    3232        if (v.empty()) {
  • trunk/src/PacpusLib/ComponentManager.cpp

    r207 r231  
    2626{
    2727    typedef QList<_ListElem> ListType;
    28     for (ListType::const_iterator it = list.cbegin(), itend = list.cend(); it != itend; ++it) {
     28    for (typename ListType::const_iterator it = list.cbegin(), itend = list.cend(); it != itend; ++it) {
    2929        os << *it << "\n";
    3030    }
  • trunk/src/PacpusLib/Log.cpp

    r228 r231  
    3434PACPUSLIB_API std::basic_ostream<char>& operator<< (std::basic_ostream<char>& strm, QString const& s);
    3535
    36 namespace pacpus {
     36namespace pacpus
     37{
    3738   
    3839void init_log_factories()
     
    148149
    149150namespace pacpus
     151{
    150152
    151153    LogConfigurator::LogConfigurator()
    152154    {}
    153     void LogConfigurator::configureLoggerWithFile(const char * /*configFilename*/)
     155
     156    LogConfigurator::~LogConfigurator()
     157    {}
     158
     159    void LogConfigurator::configureLoggerWithFile(const char* /*configFilename*/)
    154160    {}
    155161
     
    157163
    158164#endif // PACPUS_USE_LOG
     165
  • trunk/src/PacpusLib/XmlConfigFile.cpp

    r165 r231  
    99#include <Pacpus/kernel/Log.h>
    1010
     11#include <cassert>
    1112#include <QFile>
    1213#include <QTextStream>
Note: See TracChangeset for help on using the changeset viewer.