summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-08-28 12:14:49 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-08-28 12:14:49 -0400
commitdff50e09fea194433e15aa6137c835cedcf94a58 (patch)
tree6c66841f4396dbeae937133abac8ed51e1ef68ce /util.h
parent57148ee74505bdc3f33746563a998a9832924a41 (diff)
downloadsystemtap-steved-dff50e09fea194433e15aa6137c835cedcf94a58.tar.gz
systemtap-steved-dff50e09fea194433e15aa6137c835cedcf94a58.tar.xz
systemtap-steved-dff50e09fea194433e15aa6137c835cedcf94a58.zip
trailing whitespace removal, as approved by emacs
(add-hook 'before-save-hook 'delete-trailing-whitespace)
Diffstat (limited to 'util.h')
-rw-r--r--util.h8
1 files changed, 4 insertions, 4 deletions
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 <typename OUT, typename IN>
+template <typename OUT, typename IN>
inline OUT lex_cast(IN const & in)
{
std::stringstream ss;
@@ -39,7 +39,7 @@ inline OUT lex_cast(IN const & in)
}
-template <typename OUT, typename IN>
+template <typename OUT, typename IN>
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 <typename IN>
+template <typename IN>
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 += '\\';