clang-format

This commit is contained in:
Artem Pavlenko 2023-03-13 15:43:08 +00:00
parent e1a09e48c4
commit 2044fa25c6
2 changed files with 4 additions and 3 deletions

View file

@ -45,6 +45,7 @@ class MAPNIK_DECL datasource_cache : public singleton_cxx11<datasource_cache>,
private util::noncopyable
{
friend class singleton_cxx11<datasource_cache>;
public:
bool plugin_registered(const std::string& plugin_name) const;
std::vector<std::string> plugin_names() const;

View file

@ -71,13 +71,13 @@ public:
static T instance;
return instance;
}
protected:
#ifdef MAPNIK_THREADSAFE
static std::mutex mutex_;
#endif
};
#ifdef __GNUC__
template<typename T, template<typename U> class CreatePolicy = CreateStatic>
class MAPNIK_DECL singleton