X-Git-Url: https://ruin.nu/git/?p=popboot.git;a=blobdiff_plain;f=action.h;h=9b3c9276a105ab8366324c63839ffde92d34d70f;hp=35119c35c7d245615e10ab6c857d0e02702d089e;hb=e26fd7b3195576b25ffe51253a391b53f412a650;hpb=3a5c7967d474fe42d471f417fa1f4bb1aec8e4fa diff --git a/action.h b/action.h index 35119c3..9b3c927 100644 --- a/action.h +++ b/action.h @@ -11,8 +11,9 @@ class Action { Action(std::string executable, literals preconditions, literals effects); Action(const Action& action); Action(){}; - literals effects() const; - literals preconditions() const; + const literals& effects() const; + const literals& preconditions() const; + const std::string& executable() const; int execute() const; protected: