missing default parameter for compact mode in XMLPrinter
diff --git a/tinyxml2.h b/tinyxml2.h
index cb1dc1b..23ea80b 100755
--- a/tinyxml2.h
+++ b/tinyxml2.h
@@ -1964,7 +1964,7 @@
     /** If streaming, start writing an element.

         The element must be closed with CloseElement()

     */

-    void OpenElement( const char* name, bool compactMode );

+    void OpenElement( const char* name, bool compactMode=false );

     /// If streaming, add an attribute to an open element.

     void PushAttribute( const char* name, const char* value );

     void PushAttribute( const char* name, int value );

@@ -1972,7 +1972,7 @@
     void PushAttribute( const char* name, bool value );

     void PushAttribute( const char* name, double value );

     /// If streaming, close the Element.

-    virtual void CloseElement( bool compactMode );

+    virtual void CloseElement( bool compactMode=false );

 

     /// Add a text node.

     void PushText( const char* text, bool cdata=false );