diff options
Diffstat (limited to 'cutl/compiler/context.hxx')
-rw-r--r-- | cutl/compiler/context.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cutl/compiler/context.hxx b/cutl/compiler/context.hxx index e603f97..32f301f 100644 --- a/cutl/compiler/context.hxx +++ b/cutl/compiler/context.hxx @@ -26,6 +26,12 @@ namespace cutl public: context () {} + void + swap (context& c) + { + map_.swap (c.map_); + } + private: context (context const&); |