diff --git a/simplecpp.cpp b/simplecpp.cpp index fe7c4155..4aac986f 100755 --- a/simplecpp.cpp +++ b/simplecpp.cpp @@ -242,7 +242,7 @@ simplecpp::TokenList::TokenList(const TokenList &other) : frontToken(nullptr), b } #if __cplusplus >= 201103L -simplecpp::TokenList::TokenList(TokenList &&other) : TokenList(other) +simplecpp::TokenList::TokenList(TokenList &&other) : frontToken(nullptr), backToken(nullptr), files(other.files) { *this = std::move(other); }