~jamesh/mediascanner/disable-tmdb

« back to all changes in this revision

Viewing changes to src/mediascanner/glibutils.h

  • Committer: Tarmac
  • Author(s): Jussi Pakkanen
  • Date: 2013-09-11 15:37:17 UTC
  • mfrom: (381.2.7 media-scanner)
  • Revision ID: tarmac-20130911153717-j22y231kn1w9slmj
Replace boost::bind with std::bind. Fixes: https://bugs.launchpad.net/bugs/1223906.

Approved by Pawel Stolowski, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include <gudev/gudev.h>
29
29
 
30
30
// Boost C++
31
 
#include <boost/function.hpp>
32
31
#include <boost/date_time/posix_time/posix_time_duration.hpp>
33
32
 
34
33
// C++ Standard Library
808
807
     * @return If this function returns @c false it is automatically removed
809
808
     * from the list of event sources and will not be called again.
810
809
     */
811
 
    typedef boost::function<bool()> SourceFunction;
 
810
    typedef std::function<bool()> SourceFunction;
812
811
 
813
812
    /**
814
813
     * @brief The signature of a single-call idle source.
816
815
     * automatically removed from the list of event sources and will not be
817
816
     * called again.
818
817
     */
819
 
    typedef boost::function<void()> OneCallFunction;
 
818
    typedef std::function<void()> OneCallFunction;
820
819
 
821
820
    /**
822
821
     * @brief Removes an event source handler.