]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/edsp.h
rred: If there were I/O errors, fail
[apt.git] / apt-pkg / edsp.h
index 72b886a319da56dccd7dcf22fa73d0b581a6279a..2053e14e10478a335bc7e1d7e95fe8635275f052 100644 (file)
@@ -192,7 +192,7 @@ namespace EDSP                                                              /*{{{*/
         *  \return PID of the started solver or 0 if failure occurred
         */
        pid_t ExecuteSolver(const char* const solver, int * const solver_in, int * const solver_out, bool /*overload*/);
-       APT_DEPRECATED bool ExecuteSolver(const char* const solver, int *solver_in, int *solver_out);
+       APT_DEPRECATED_MSG("add a dummy bool parameter to use the overload returning a pid_t") bool ExecuteSolver(const char* const solver, int *solver_in, int *solver_out);
 
        /** \brief call an external resolver to handle the request
         *
@@ -211,6 +211,6 @@ namespace EDSP                                                              /*{{{*/
        bool ResolveExternal(const char* const solver, pkgDepCache &Cache,
                                    bool const upgrade, bool const distUpgrade,
                                    bool const autoRemove, OpProgress *Progress = NULL);
-};
+}
                                                                        /*}}}*/
 #endif