diff options
author | David Partouche <david@manateedev.com> | 2014-10-23 12:28:57 +0200 |
---|---|---|
committer | David Partouche <david@manateedev.com> | 2014-10-23 17:30:16 +0200 |
commit | 271b68891002b324be04d04475a4207ce5918590 (patch) | |
tree | 6680e13cacb94f771c6ac87eb34c9c4c4ff0fb55 /src/osx | |
parent | 86e8480550b0a61d80ec828c57dac06ddb5c540a (diff) | |
download | glutin-271b68891002b324be04d04475a4207ce5918590.tar.gz glutin-271b68891002b324be04d04475a4207ce5918590.zip |
Fixed switch from atomics to atomic in rust
Diffstat (limited to 'src/osx')
-rw-r--r-- | src/osx/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osx/mod.rs b/src/osx/mod.rs index 7d4d538..f165650 100644 --- a/src/osx/mod.rs +++ b/src/osx/mod.rs @@ -1,5 +1,5 @@ use Event; -use std::sync::atomics::AtomicBool; +use std::sync::atomic::AtomicBool; #[cfg(feature = "window")] use WindowBuilder; @@ -181,7 +181,7 @@ impl Window { } pub fn is_closed(&self) -> bool { - use std::sync::atomics::Relaxed; + use std::sync::atomic::Relaxed; self.is_closed.load(Relaxed) } |