From 7aedf6d986f15d31d9597c139d91c761baf98f73 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 8 Oct 2013 17:45:32 +0200 Subject: PyApt_Filename: Add return value to assignment operator --- python/generic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/generic.h b/python/generic.h index 97806e17..7dc89ca6 100644 --- a/python/generic.h +++ b/python/generic.h @@ -306,8 +306,8 @@ public: return path; } - void operator=(const char *path) { - this->path = path; + const char *operator=(const char *path) { + return this->path = path; } }; -- cgit v1.2.3