1
0
Fork 0

Resolve Deprecation Warnings

This commit is contained in:
Scott Giese 2020-08-29 10:12:35 -05:00
parent 740193a378
commit 8cede3f065
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
* the GNU Lesser (Library) General Public License.
*/
#define _BSD_SOURCE
#define _DEFAULT_SOURCE
#include <unistd.h>
#ifndef __USE_POSIX199309
#define __USE_POSIX199309

View file

@ -144,7 +144,7 @@ void PackageDelegate::catalogRefreshed(CatalogRef aCatalog, StatusCode aReason)
// silent about this
} else {
qWarning() << "failed refresh of"
<< QString::fromStdString(aCatalog->url()) << ":" << aReason << endl;
<< QString::fromStdString(aCatalog->url()) << ":" << aReason << Qt::endl;
}
}