From fa8ee81b364a822c11f0d3ac2c4e6adfc6cfaad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20M=C3=BCller?= Date: Fri, 21 Apr 2017 12:36:01 +0200 Subject: [PATCH] Fix OSX compatibility issue --- include/cppast/code_generator.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cppast/code_generator.hpp b/include/cppast/code_generator.hpp index 036ec42..2d1d769 100644 --- a/include/cppast/code_generator.hpp +++ b/include/cppast/code_generator.hpp @@ -111,12 +111,12 @@ namespace cppast /// Tag type to represent an end-of-line character. const struct newl_t { - } newl; + } newl{}; /// Tag type to represent a single space character. const struct whitespace_t { - } whitespace; + } whitespace{}; /// Base class to control the code generation. ///