1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Moved definitions inside TINS_IS_CXX11 into header files.

This commit is contained in:
Matias Fontanini
2013-04-23 13:04:57 -03:00
parent f8134be8b7
commit 0f2bc45059
22 changed files with 90 additions and 148 deletions

View File

@@ -131,13 +131,6 @@ void PPPoE::add_tag(const tag &option) {
_tags.push_back(option);
}
#if TINS_IS_CXX11
void PPPoE::add_tag(tag &&option) {
_tags_size += option.data_size() + sizeof(uint16_t) * 2;
_tags.push_back(std::move(option));
}
#endif
// *********************** Setters *************************
void PPPoE::end_of_list() {