Using anchor type to create the router

this is more flexible for eventual descendants redefining the router
This commit is contained in:
Jocelyn Fiat
2012-10-22 11:15:23 +02:00
parent aa743c0a7d
commit fb3148aeea

View File

@@ -19,7 +19,7 @@ feature {NONE} -- Initialization
make (n: INTEGER)
do
make_with_router (create {WSF_ROUTER}.make (n))
make_with_router (create {like router}.make (n))
end
feature -- Access