Skip to content

Commit

Permalink
appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Aug 19, 2019
1 parent 3a7977b commit bc56c70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ environment:
configuration:
- Debug

platform:
- Win32
- Win64

matrix:
fast_finish: true

Expand Down
4 changes: 2 additions & 2 deletions src/entt/signal/sigh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ class sink<Ret(Args...)> {
auto &calls = signal->calls;
delegate<Ret(Args...)> delegate{};
delegate.template connect<Function>();
calls.erase(std::remove(calls.begin(), calls.end(), std::move(delegate)), calls.end());
calls.erase(std::remove(calls.begin(), calls.end(), delegate), calls.end());
}

/**
Expand All @@ -399,7 +399,7 @@ class sink<Ret(Args...)> {
auto &calls = signal->calls;
delegate<Ret(Args...)> delegate{};
delegate.template connect<Candidate>(value_or_instance);
calls.erase(std::remove(calls.begin(), calls.end(), std::move(delegate)), calls.end());
calls.erase(std::remove(calls.begin(), calls.end(), delegate), calls.end());
}

/**
Expand Down

0 comments on commit bc56c70

Please sign in to comment.