Commit d2640289 authored by Kohei Yoshida's avatar Kohei Yoshida

Avoid object slicing on deletion of the impl instance.

parent 14e7d971
Pipeline #43490097 passed with stage
in 3 minutes and 51 seconds
......@@ -81,6 +81,7 @@ public:
virtual bool has() const = 0;
virtual void next() = 0;
virtual const model_iterator::cell& get() const = 0;
virtual ~impl() {}
};
namespace {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment