Enable clang-tidy and apply fixes
Enable clang-tidy, fix the compile issue and fix the clang-tidy issues.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I6250c6519a725c07b0cd10abe464fda97a2aebd7
diff --git a/session.hpp b/session.hpp
index ab3fe07..c12ec2c 100644
--- a/session.hpp
+++ b/session.hpp
@@ -99,12 +99,12 @@
class Session : public SessionIface
{
public:
- Session() = default;
+ Session() = delete;
~Session() = default;
Session(const Session&) = delete;
Session& operator=(const Session&) = delete;
- Session(Session&&) = default;
- Session& operator=(Session&&) = default;
+ Session(Session&&) = delete;
+ Session& operator=(Session&&) = delete;
/**
* @brief Session Constructor