libdnf/libdnf-0.33.0-gcc-8.3.0.patch

20 lines
848 B
Diff
Raw Normal View History

diff -ru libdnf-0.33.0/libdnf/goal/IdQueue.hpp libdnf-0.33.0.patched/libdnf/goal/IdQueue.hpp
--- libdnf-0.33.0/libdnf/goal/IdQueue.hpp 2019-06-01 08:35:40.000000000 +0200
+++ libdnf-0.33.0.patched/libdnf/goal/IdQueue.hpp 2019-06-01 08:41:38.679616470 +0200
@@ -51,13 +51,13 @@
};
inline IdQueue::IdQueue() { queue_init(&queue); }
-inline IdQueue::IdQueue(const IdQueue & src) { queue_init_clone(&queue, &src.queue); }
+inline IdQueue::IdQueue(const IdQueue & src) { queue_init_clone(&queue, (Queue*)&src.queue); }
inline IdQueue::IdQueue(IdQueue && src)
{
queue_init(&queue);
std::swap(queue, src.queue);
}
-inline IdQueue::IdQueue(const Queue & src) { queue_init_clone(&queue, &src); }
+inline IdQueue::IdQueue(const Queue & src) { queue_init_clone(&queue, (Queue*)&src); }
inline IdQueue::~IdQueue() { queue_free(&queue); }