Disable copy and move.

This commit is contained in:
King_DuckZ 2020-04-13 16:29:24 +02:00
parent ac6ea57675
commit 351e84b04e

View file

@ -48,6 +48,8 @@ namespace duck {
typedef std::ptrdiff_t difference_type; typedef std::ptrdiff_t difference_type;
EnvBase() = default; EnvBase() = default;
EnvBase (const EnvBase&) = delete;
EnvBase (EnvBase&&) = delete;
virtual ~EnvBase() noexcept = default; virtual ~EnvBase() noexcept = default;
std::string_view operator[] (std::string_view name) const noexcept; std::string_view operator[] (std::string_view name) const noexcept;