]> ruin.nu Git - popboot.git/blobdiff - action.h
references instead of copies
[popboot.git] / action.h
index 35119c35c7d245615e10ab6c857d0e02702d089e..9b3c9276a105ab8366324c63839ffde92d34d70f 100644 (file)
--- 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: