Fix clippy lints
This commit is contained in:
parent
c3b2b5b12d
commit
5ae23f52f4
2 changed files with 2 additions and 2 deletions
|
@ -257,7 +257,7 @@ impl Drop for ScopedFtz {
|
||||||
if self.should_disable_again {
|
if self.should_disable_again {
|
||||||
#[cfg(target_feature = "sse")]
|
#[cfg(target_feature = "sse")]
|
||||||
{
|
{
|
||||||
return unsafe {
|
unsafe {
|
||||||
std::arch::x86_64::_MM_SET_FLUSH_ZERO_MODE(
|
std::arch::x86_64::_MM_SET_FLUSH_ZERO_MODE(
|
||||||
std::arch::x86_64::_MM_FLUSH_ZERO_OFF,
|
std::arch::x86_64::_MM_FLUSH_ZERO_OFF,
|
||||||
)
|
)
|
||||||
|
|
|
@ -27,7 +27,7 @@ pub struct Factory<P: Vst3Plugin> {
|
||||||
|
|
||||||
impl<P: Vst3Plugin> Factory<P> {
|
impl<P: Vst3Plugin> Factory<P> {
|
||||||
pub fn new() -> Box<Self> {
|
pub fn new() -> Box<Self> {
|
||||||
Self::allocate(PhantomData::default())
|
Self::allocate(PhantomData)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue