sources/format.h

changeset 10
3874575d924d
parent 5
146825d63b9a
child 11
cffa2777d917
--- a/sources/format.h	Thu Dec 11 16:17:35 2014 +0200
+++ b/sources/format.h	Fri Dec 12 00:55:51 2014 +0200
@@ -28,6 +28,7 @@
 	SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
+#pragma once
 #include "mystring.h"
 #include "basics.h"
 #include "geometry.h"
@@ -116,7 +117,7 @@
 template<typename T, typename... RestTypes> FUNCTION
 expand_format_arguments (Vector<String>& data, const T& arg, const RestTypes& ... rest) -> void
 {
-	data.append (make_format_argument (arg).text());
+	data.append (make_format_argument (arg));
 	expand_format_arguments (data, rest...);
 }
 

mercurial