X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=src%2Fsortaction.h;h=ec9a023710961ee0978651fe46f1520d6d18039d;hb=0ced9c229cf05fa677686df27eca9f167f11a87f;hp=faec98a0c2e94681dcba096714d7f4c2e47759d6;hpb=d7c119fefaf9cce07974afbefb4b6a017689a961;p=germs.git diff --git a/src/sortaction.h b/src/sortaction.h index faec98a..ec9a023 100644 --- a/src/sortaction.h +++ b/src/sortaction.h @@ -26,6 +26,10 @@ class GeneOrder; +/** + * Abstraction for a sort action implementation, this is the base that other + * actions inherits from. + */ class SortActionImpl{ public: @@ -48,7 +52,7 @@ class SortActionImpl{ }; /** - * Abstraction of a sort action, all child actions has to be immutable. + * Abstraction of a sort action, all SortActionImpls has to be immutable. * * \author Michael Andreen */ @@ -105,7 +109,7 @@ class SortAction{ /** * Gives access to the implementation */ - const SortActionImpl& impl(){ + const SortActionImpl& impl() const{ return *_action; } private: