Using anchor type to create the router
this is more flexible for eventual descendants redefining the router
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user