diff options
-rw-r--r-- | ui/editNetwork.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/editNetwork.h b/ui/editNetwork.h index 6f3b009..bd01eb8 100644 --- a/ui/editNetwork.h +++ b/ui/editNetwork.h @@ -29,14 +29,14 @@ public: virtual void render(const Shader & shader) const = 0; virtual std::string hint() const = 0; virtual void click(Network *, const GeoData *, const SDL_MouseButtonEvent &, const Ray &) = 0; + + using Ptr = std::unique_ptr<Builder>; }; private: - using BuilderPtr = std::unique_ptr<Builder>; - Network * network; - BuilderPtr builder; - Mode<BuilderPtr, ModeSecondClick::NoAction> mode {builder}; + Builder::Ptr builder; + Mode<Builder::Ptr, ModeSecondClick::NoAction> mode {builder}; Toolbar builderToolbar; }; |