~jamesh/mediascanner/sort-results

« back to all changes in this revision

Viewing changes to src/mediascanner/logging.cpp

  • 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:
53
53
 
54
54
const Domain::SettingsMap &Domain::ReadSettings() {
55
55
    const char *const current_env = ::getenv("MEDIASCANNER_DEBUG");
56
 
    static const char *parsed_env = null_ptr;
 
56
    static const char *parsed_env = nullptr;
57
57
    static SettingsMap settings;
58
58
 
59
59
    if (current_env != parsed_env) {
171
171
}
172
172
 
173
173
static Domain* unknown() {
174
 
    static Domain domain("unknown", null_ptr,
 
174
    static Domain domain("unknown", nullptr,
175
175
                         new_sink("UNKNOWN", DefaultMessageSink::Red));
176
176
    return &domain;
177
177
}