summaryrefslogtreecommitdiff
path: root/src/include/debug.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-06-09 10:58:34 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-06-09 10:58:34 +0800
commit374a42466ee4e9d0a25ef65f73b84e3c870d6f79 (patch)
tree7c9e1575cdbf8b011d56f65f16a8dcc2431bc66f /src/include/debug.hpp
parent9f8d9fa81be1c11b50bc5ced608a3bd18a53de21 (diff)
downloadmrust-374a42466ee4e9d0a25ef65f73b84e3c870d6f79.tar.gz
Fix use of hard tabs
Diffstat (limited to 'src/include/debug.hpp')
-rw-r--r--src/include/debug.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/debug.hpp b/src/include/debug.hpp
index 2bbecb39..2f593cfb 100644
--- a/src/include/debug.hpp
+++ b/src/include/debug.hpp
@@ -42,10 +42,10 @@ class NullSink
{
public:
NullSink()
- {}
+ {}
- template<typename T>
- const NullSink& operator<<(const T&) const { return *this; }
+ template<typename T>
+ const NullSink& operator<<(const T&) const { return *this; }
};
class TraceLog
@@ -62,9 +62,9 @@ public:
struct FmtLambda
{
::std::function<void(::std::ostream&)> m_cb;
- FmtLambda(::std::function<void(::std::ostream&)> cb):
- m_cb(cb)
- { }
+ FmtLambda(::std::function<void(::std::ostream&)> cb):
+ m_cb(cb)
+ { }
friend ::std::ostream& operator<<(::std::ostream& os, const FmtLambda& x) {
x.m_cb(os);
return os;