From 54544731423fbf90a9dbbfccc5c734aac3933ddc Mon Sep 17 00:00:00 2001 From: Automatic source maintenance Date: Sun, 4 Dec 2011 18:40:45 -0700 Subject: [PATCH] SourceFormat Enforcement --- src/HttpBody.cc | 6 +++--- src/HttpBody.h | 3 ++- src/base/AsyncCbdataCalls.h | 5 ++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/HttpBody.cc b/src/HttpBody.cc index 230698a83c..6cef876ac4 100644 --- a/src/HttpBody.cc +++ b/src/HttpBody.cc @@ -43,14 +43,14 @@ HttpBody::HttpBody() : mb(new MemBuf) HttpBody::~HttpBody() { - clear(); - delete mb; + clear(); + delete mb; } void HttpBody::clear() { - if(!mb->isNull()) + if (!mb->isNull()) mb->clean(); } diff --git a/src/HttpBody.h b/src/HttpBody.h index b893a2e2d2..dc82a970aa 100644 --- a/src/HttpBody.h +++ b/src/HttpBody.h @@ -40,7 +40,8 @@ class Packer; * This class is useful to represent short HTTP messages, whose * contents are known in advance, e.g. error messages */ -class HttpBody { +class HttpBody +{ public: HttpBody(); ~HttpBody(); diff --git a/src/base/AsyncCbdataCalls.h b/src/base/AsyncCbdataCalls.h index f15763e364..b4ec163580 100644 --- a/src/base/AsyncCbdataCalls.h +++ b/src/base/AsyncCbdataCalls.h @@ -14,9 +14,8 @@ public: UnaryCbdataDialer(Handler *aHandler, Argument1 *aArg) : arg1(aArg), - handler(aHandler) - {} - + handler(aHandler) {} + virtual bool canDial(AsyncCall &call) { return arg1.valid(); } void dial(AsyncCall &call) { handler(arg1.get()); } virtual void print(std::ostream &os) const { os << '(' << arg1 << ')'; } -- 2.47.3