Remove the unsafe impl Send for ConstellationControlMsg.

This impl made it possible to put raw pointers in ConstellationControlMsg and
send them across threads without considering the consequences.

This required making SmallVec1<T> Send if T is Send.
This commit is contained in:
Ms2ger 2015-04-02 17:55:57 +02:00
parent 02be76bd48
commit eefb0773a0
4 changed files with 3 additions and 6 deletions

View file

@ -76,9 +76,6 @@ pub enum ConstellationControlMsg {
UpdateSubpageId(PipelineId, SubpageId, SubpageId),
}
unsafe impl Send for ConstellationControlMsg {
}
/// The mouse button involved in the event.
#[derive(Clone, Debug)]
pub enum MouseButton {