diff options
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; |