summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2008-08-29 16:10:01 -0400
committerDave Brolley <brolley@redhat.com>2008-08-29 16:10:01 -0400
commit0cbf1fef13d340b4a6d01fe7242a6d0c098e8d6c (patch)
treeadd6c27ae60763af4c4a1aa90db7f65e465759e3 /util.h
parentd1f2fc72bf8506d0ac166cddb07576c7c4a1fea6 (diff)
parent8d142c018986acb256a08c1232f4f5ff0ee063df (diff)
downloadsystemtap-steved-0cbf1fef13d340b4a6d01fe7242a6d0c098e8d6c.tar.gz
systemtap-steved-0cbf1fef13d340b4a6d01fe7242a6d0c098e8d6c.tar.xz
systemtap-steved-0cbf1fef13d340b4a6d01fe7242a6d0c098e8d6c.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Conflicts: ChangeLog
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 += '\\';