diff options
| -rw-r--r-- | src/CellBuffer.cxx | 8 | ||||
| -rw-r--r-- | src/CellBuffer.h | 3 | 
2 files changed, 1 insertions, 10 deletions
| diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 52259031c..893938f2f 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -102,14 +102,6 @@ Action::Action() {  	mayCoalesce = false;  } -Action::Action(Action &&other) { -	at = other.at; -	position = other.position; -	data = std::move(other.data); -	lenData = other.lenData; -	mayCoalesce = other.mayCoalesce; -} -  Action::~Action() {  } diff --git a/src/CellBuffer.h b/src/CellBuffer.h index 0e2c4f219..3e3ec3015 100644 --- a/src/CellBuffer.h +++ b/src/CellBuffer.h @@ -43,8 +43,7 @@ public:  	Action &operator=(const Action &other) = delete;  	Action &operator=(const Action &&other) = delete;  	// Move constructor allows vector to be resized without reallocating. -	// Could use =default but MSVC 2013 warns. -	Action(Action &&other); +	Action(Action &&other) noexcept = default;  	~Action();  	void Create(actionType at_, Sci::Position position_=0, const char *data_=0, Sci::Position lenData_=0, bool mayCoalesce_=true);  	void Clear(); | 
