
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
18 lines
271 B
C++
18 lines
271 B
C++
/*
|
|
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <Kernel/Arch/SmapDisabler.h>
|
|
|
|
namespace Kernel {
|
|
|
|
SmapDisabler::SmapDisabler()
|
|
: m_flags(0)
|
|
{
|
|
}
|
|
|
|
SmapDisabler::~SmapDisabler() = default;
|
|
|
|
}
|