diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-08-07 17:21:35 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-08-07 18:48:42 +0300 |
commit | 2dd8ec885453b6c75d982dd90722e583b2da3525 (patch) | |
tree | 4ae9b61aa42da54f08d188773b31be820d1ae565 /include | |
parent | d49c4cd61c0d5b29bf21c029e4a3201563de1671 (diff) | |
download | qtlocation-mapboxgl-2dd8ec885453b6c75d982dd90722e583b2da3525.tar.gz |
[core] Removed unused constructorupstream/tvn-test-ci-time-out
Not in use at the moment, was causing a compiler error on
Apple LLVM version 8.0.0 (clang-800.0.42.1).
```
src/mbgl/sprite/sprite_loader.cpp:25:11: error: call to constructor of
'Actor<mbgl::SpriteLoaderWorker>' is ambiguous
```
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/actor/actor.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/mbgl/actor/actor.hpp b/include/mbgl/actor/actor.hpp index 74d5a66285..6610421eb5 100644 --- a/include/mbgl/actor/actor.hpp +++ b/include/mbgl/actor/actor.hpp @@ -57,14 +57,6 @@ public: object(self(), std::forward<Args>(args_)...) { } - // Enabled for plain Objects - template <typename U = Object, class... Args, - typename std::enable_if<!std::is_constructible<U, ActorRef<Object>, Args...>::value>::type...> - Actor(Scheduler& scheduler, Args&&... args_) - : mailbox(std::make_shared<Mailbox>(scheduler)), - object(std::forward<Args>(args_)...) { - } - ~Actor() { mailbox->close(); } |