diff options
| author | Julian Andres Klode <jak@debian.org> | 2013-10-08 17:45:32 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2013-10-08 17:45:32 +0200 |
| commit | 7aedf6d986f15d31d9597c139d91c761baf98f73 (patch) | |
| tree | 095b8a555a1ec4f7d3010181584c7b87a8523451 /python | |
| parent | 5889aba6bd426673fa64a4080747fca762f8ef58 (diff) | |
| download | python-apt-7aedf6d986f15d31d9597c139d91c761baf98f73.tar.gz | |
PyApt_Filename: Add return value to assignment operator
Diffstat (limited to 'python')
| -rw-r--r-- | python/generic.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; } }; |
