use std::unique_lock instead of boost::unique_lock
This commit is contained in:
parent
6c6b1bd650
commit
95aa4c709d
1 changed files with 2 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* This file is part of Mapnik (c++ mapping toolkit)
|
||||
*
|
||||
* Copyright (C) 2011 Artem Pavlenko
|
||||
* Copyright (C) 2014 Artem Pavlenko
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -23,13 +23,11 @@
|
|||
#ifndef MAPNIK_UNIQUE_LOCK_HPP
|
||||
#define MAPNIK_UNIQUE_LOCK_HPP
|
||||
|
||||
#include <boost/thread/locks.hpp>
|
||||
#include <mutex>
|
||||
|
||||
namespace mapnik
|
||||
{
|
||||
// TODO - test using std::unique_lock instead
|
||||
using scoped_lock = boost::unique_lock<std::mutex>;
|
||||
using scoped_lock = std::unique_lock<std::mutex>;
|
||||
}
|
||||
|
||||
#endif // MAPNIK_UNIQUE_LOCK_HPP
|
||||
|
|
Loading…
Reference in a new issue