diff options
author | Stefan Radomski <sradomski@mintwerk.de> | 2016-01-10 02:40:12 (GMT) |
---|---|---|
committer | Stefan Radomski <sradomski@mintwerk.de> | 2016-01-10 02:40:12 (GMT) |
commit | 613cf9fb6fe4b24bc7852d5a31953f6ff419e43c (patch) | |
tree | 8459365c5a6a00503063b0bf1d516fce5ea4d891 /src/uscxml/transform/Transformer.h | |
parent | c699a4057a65a9a09f78310d8e12588f2dc072cd (diff) | |
download | uscxml-613cf9fb6fe4b24bc7852d5a31953f6ff419e43c.zip uscxml-613cf9fb6fe4b24bc7852d5a31953f6ff419e43c.tar.gz uscxml-613cf9fb6fe4b24bc7852d5a31953f6ff419e43c.tar.bz2 |
Beautified code
Diffstat (limited to 'src/uscxml/transform/Transformer.h')
-rw-r--r-- | src/uscxml/transform/Transformer.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/uscxml/transform/Transformer.h b/src/uscxml/transform/Transformer.h index 9d31b71..16d0a94 100644 --- a/src/uscxml/transform/Transformer.h +++ b/src/uscxml/transform/Transformer.h @@ -39,12 +39,12 @@ public: class USCXML_API Transformer : public boost::enable_shared_from_this<Transformer> { public: // Transformer(const Interpreter& source) { _impl = new (source) } - + Transformer() : _impl() {} // the empty, invalid interpreter Transformer(boost::shared_ptr<TransformerImpl> const impl) : _impl(impl) { } Transformer(const Transformer& other) : _impl(other._impl) { } virtual ~Transformer() {}; - + operator bool() const { return (_impl); } @@ -68,11 +68,11 @@ public: operator Interpreter() { return _impl->operator Interpreter(); } - - boost::shared_ptr<TransformerImpl> getImpl() { - return _impl; - } - + + boost::shared_ptr<TransformerImpl> getImpl() { + return _impl; + } + protected: boost::shared_ptr<TransformerImpl> _impl; |