From dff50e09fea194433e15aa6137c835cedcf94a58 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Thu, 28 Aug 2008 12:14:49 -0400 Subject: trailing whitespace removal, as approved by emacs (add-hook 'before-save-hook 'delete-trailing-whitespace) --- util.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'util.h') diff --git a/util.h b/util.h index 97fa7062..735652eb 100644 --- a/util.h +++ b/util.h @@ -27,7 +27,7 @@ stringify(T t) } -template +template inline OUT lex_cast(IN const & in) { std::stringstream ss; @@ -39,7 +39,7 @@ inline OUT lex_cast(IN const & in) } -template +template inline OUT lex_cast_hex(IN const & in) { @@ -54,7 +54,7 @@ lex_cast_hex(IN const & in) // Return as quoted string, so that when compiled as a C literal, it // would print to the user out nicely. -template +template inline std::string lex_cast_qstring(IN const & in) { @@ -74,7 +74,7 @@ lex_cast_qstring(IN const & in) out2 += "01234567" [(c >> 6) & 0x07]; out2 += "01234567" [(c >> 3) & 0x07]; out2 += "01234567" [(c >> 0) & 0x07]; - } + } else if (c == '"' || c == '\\') { out2 += '\\'; -- cgit