diff options
Diffstat (limited to 'lang/cpp/src/context.h')
| -rw-r--r-- | lang/cpp/src/context.h | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/lang/cpp/src/context.h b/lang/cpp/src/context.h index 6e27daa6..d3700e03 100644 --- a/lang/cpp/src/context.h +++ b/lang/cpp/src/context.h @@ -68,6 +68,8 @@ public:      //      static Context *createForProtocol(Protocol proto); +    /** Same as above but returning a unique ptr. */ +    static std::unique_ptr<Context> create(Protocol proto);      static std::unique_ptr<Context> createForEngine(Engine engine, Error *err = 0);      virtual ~Context(); | 
