Przeglądaj źródła

Add fixed tab size for XML node

Patrick 4 lat temu
rodzic
commit
fa11062e47
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      source/io/xml/XMLNode.hpp

+ 2 - 1
source/io/xml/XMLNode.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-24
- * Changed:         2020-09-25
+ * Changed:         2020-10-25
  *
  * */
 
@@ -52,6 +52,7 @@ namespace ls_std {
       std::list<std::shared_ptr<XMLAttribute>> attributes {};
       std::list<std::shared_ptr<XMLNode>> children {};
       std::string name {};
+      const static uint8_t tabSize {4};
       std::string value {};
 
       bool _hasAttribute(const std::string& _name);