commit 60d669680d652c7e0df1bc8d808dfd34ceb414de parent bdeec0ba3b67c0ec5ab92be09dc7fb8433075334 Author: Dominik Schmidt <das1993@hotmail.com> Date: Wed, 1 Jul 2015 15:02:42 +0200 Document the clone-function too. Diffstat:
Fb2RSS.d | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/Fb2RSS.d b/Fb2RSS.d @@ -83,6 +83,13 @@ class FBStream : RandomFiniteAssignable!(Post){ Post moveAt(size_t i){ return posts.moveAt(i); } + + /** + * Returns a clone of the current object. + * @warning The members all point to the same data, so if you change + * a member variable of the clone, the parent will change too. + * @return A clone of the current object. + */ private FBStream clone(){ FBStream str=new FBStream(this.fetch_url); str.url=this.url;