Use std::unique_ptr for stop service

This commit is contained in:
Rico Tiongson 2019-02-13 08:52:45 +08:00
parent 40dec4900e
commit 42eba25c9b

View File

@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <unistd.h> // popen, pclose, getpid #include <unistd.h> // popen, pclose, getpid
#include <memory> // std::unique_ptr #include <memory> // std::unique_ptr
#include <array> // std::array #include <array> // std::array
#include <cstdio> // FILE #include <cstdio> // FILE, std::feof, std::fgets
namespace comfortable_swipe::service namespace comfortable_swipe::service
{ {