summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2017-08-07 14:21:35 (GMT)
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2017-08-07 15:48:42 (GMT)
commit2dd8ec885453b6c75d982dd90722e583b2da3525 (patch)
tree4ae9b61aa42da54f08d188773b31be820d1ae565 /include
parentd49c4cd61c0d5b29bf21c029e4a3201563de1671 (diff)
downloadqtlocation-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.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/mbgl/actor/actor.hpp b/include/mbgl/actor/actor.hpp
index 74d5a66..6610421 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();
}