Changeset 225 in pacpusframework for trunk/src/PacpusLib/Log.cpp


Ignore:
Timestamp:
Nov 22, 2013, 12:22:22 PM (11 years ago)
Author:
Marek Kurdej
Message:

Changed deprecated header.

File:
1 edited

Legend:

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

    r176 r225  
    1919#include <boost/log/utility/setup/file.hpp>
    2020#include <boost/log/utility/setup/formatter_parser.hpp>
    21 #include <boost/log/utility/empty_deleter.hpp>
     21#include <boost/utility/empty_deleter.hpp>
    2222#include <ostream>
    2323#include <QString>
     
    110110
    111111    // Create a backend and attach a couple of streams to it
    112     boost::shared_ptr< sinks::text_ostream_backend > backend =
    113         make_shared< sinks::text_ostream_backend >();
     112    shared_ptr< sinks::text_ostream_backend > backend = make_shared< sinks::text_ostream_backend >();
    114113    backend->add_stream(
    115         shared_ptr< std::ostream >(&std::clog, logging::empty_deleter())
     114        shared_ptr< std::ostream >(&std::clog, empty_deleter())
    116115    );
    117116
Note: See TracChangeset for help on using the changeset viewer.