Tasmota/lib/ArduinoJson-5.13.4/src/ArduinoJson/Data/NonCopyable.hpp
Theo Arends d85278f1b2 Prep for release 6.5
Prep for release 6.5
2019-03-13 18:00:15 +01:00

24 lines
395 B
C++

// ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2018
// MIT License
#pragma once
namespace ArduinoJson {
namespace Internals {
// A type that cannot be copied
class NonCopyable {
protected:
NonCopyable() {}
private:
// copy constructor is private
NonCopyable(const NonCopyable&);
// copy operator is private
NonCopyable& operator=(const NonCopyable&);
};
}
}