diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-12-06 14:15:43 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-12-06 14:15:49 -0800 |
commit | 3eea219548e84efdbc3148ce378fcba865f97a01 (patch) | |
tree | 6ece594f60ddff038cf9c1d94b99d8d66a00bc20 /src/common/const_array.hpp | |
parent | 1458563f00deebbbcf3e8049dc90157fb825fae3 (diff) | |
download | tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.gz tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.bz2 tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.xz tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.zip |
Add basic source formatting tools
Diffstat (limited to 'src/common/const_array.hpp')
-rw-r--r-- | src/common/const_array.hpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/common/const_array.hpp b/src/common/const_array.hpp index 383a4e2..fe15728 100644 --- a/src/common/const_array.hpp +++ b/src/common/const_array.hpp @@ -19,19 +19,19 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. -#include "../sanity.hpp" +# include "../sanity.hpp" -#include <cstring> +# include <cstring> -#include <iterator> -#include <ostream> -#include <vector> +# include <iterator> +# include <ostream> +# include <vector> -#ifdef WORKAROUND_GCC46_COMPILER +# ifdef WORKAROUND_GCC46_COMPILER // constexpr is buggy with templates in this version // Is this still needed now that const_string is removed? -# define constexpr /* nothing */ -#endif +# define constexpr /* nothing */ +# endif // TODO see if I ever actually use this, and not the subclass template<class T> @@ -125,8 +125,8 @@ public: } }; -#ifdef WORKAROUND_GCC46_COMPILER -# undef constexpr -#endif +# ifdef WORKAROUND_GCC46_COMPILER +# undef constexpr +# endif #endif // CONST_ARRAY_HPP |