Skip to content
Snippets Groups Projects
Commit 192401a7 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

update xmlApi according to clang-tidy

parent aae3ffee
No related branches found
No related tags found
1 merge request!95Many clang-tidy fixes
......@@ -33,7 +33,7 @@ class xmlApiInputContext : public ext::deque < sax::Token >::iterator {
ext::map < int, object::Object > idToInstanceContexts;
 
public:
explicit xmlApiInputContext ( ext::deque < sax::Token >::iterator iter ) : ext::deque < sax::Token >::iterator ( iter ) {
explicit xmlApiInputContext ( ext::deque < sax::Token >::iterator iter ) : ext::deque < sax::Token >::iterator ( std::move ( iter ) ) {
}
 
ext::map < int, object::Object > & idToInstance ( ) {
......@@ -44,11 +44,10 @@ public:
 
class xmlApiOutputContext : public ext::deque < sax::Token > {
ext::map < object::Object, int > instanceToIdContexts;
int idMaxContext;
int idMaxContext = 0;
 
public:
xmlApiOutputContext ( ) : idMaxContext ( 0 ) {
}
xmlApiOutputContext ( ) = default;
 
ext::map < object::Object, int > & instanceToId ( ) {
return instanceToIdContexts;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment