Fix compile issue

This commit is contained in:
Guillume DIDIER 2021-07-19 09:33:54 +02:00
parent 78c4018a04
commit 3c8c00facb

View File

@ -59,7 +59,7 @@ impl<T: TimingChannelPrimitives> NaiveTimingChannel<T> {
handle: NaiveTimingChannelHandle, handle: NaiveTimingChannelHandle,
) -> Result<*const u8, ChannelFatalError> { ) -> Result<*const u8, ChannelFatalError> {
//if let Some(addr) = self.current.remove(&handle.vpn) { //if let Some(addr) = self.current.remove(&handle.vpn) {
Ok(addr) Ok(handle.addr)
//} else { //} else {
// Err(ChannelFatalError::Oops) // Err(ChannelFatalError::Oops)
//} //}