TeaSpeakLibrary/src/Variable.cpp

17 lines
393 B
C++
Raw Normal View History

2019-06-26 16:11:22 -04:00
//
// Created by wolverindev on 22.11.17.
//
#include "Variable.h"
variable_data::variable_data(const std::pair<std::string, std::string> &pair, VariableType _type) : pair(pair), _type(_type) {}
variable& variable::operator=(const variable &ref) {
this->data = ref.data;
return *this;
}
variable& variable::operator=(variable &&ref) {
this->data = ref.data;
return *this;
}