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 { ...@@ -33,7 +33,7 @@ class xmlApiInputContext : public ext::deque < sax::Token >::iterator {
ext::map < int, object::Object > idToInstanceContexts; ext::map < int, object::Object > idToInstanceContexts;
   
public: 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 ( ) { ext::map < int, object::Object > & idToInstance ( ) {
...@@ -44,11 +44,10 @@ public: ...@@ -44,11 +44,10 @@ public:
   
class xmlApiOutputContext : public ext::deque < sax::Token > { class xmlApiOutputContext : public ext::deque < sax::Token > {
ext::map < object::Object, int > instanceToIdContexts; ext::map < object::Object, int > instanceToIdContexts;
int idMaxContext; int idMaxContext = 0;
   
public: public:
xmlApiOutputContext ( ) : idMaxContext ( 0 ) { xmlApiOutputContext ( ) = default;
}
   
ext::map < object::Object, int > & instanceToId ( ) { ext::map < object::Object, int > & instanceToId ( ) {
return instanceToIdContexts; 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