Skip to content

Commit

Permalink
Add conditional compile attr to is_ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
barskern committed May 16, 2018
1 parent 786f043 commit e035aa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/socket/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ pub(crate) enum PollAt {
}

impl PollAt {
#[cfg(feature = "socket-tcp")]
fn is_ingress(&self) -> bool {
match self {
&PollAt::Ingress => true,
Expand Down

0 comments on commit e035aa5

Please sign in to comment.