Make one arg ctors explicit
This commit is contained in:
@@ -14,7 +14,7 @@ namespace mbgl {
|
||||
|
||||
class Worker::Impl {
|
||||
public:
|
||||
Impl(FileSource* fs) {
|
||||
explicit Impl(FileSource* fs) {
|
||||
// FIXME: Workers should not access the FileSource but it
|
||||
// is currently needed because of GlyphsPBF. See #1664.
|
||||
util::ThreadContext::setFileSource(fs);
|
||||
|
||||
Reference in New Issue
Block a user