From 323c8d0d1d39032f4a5716708279134a65ccd3f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Fri, 20 Sep 2019 10:25:52 +0800 Subject: Include more necessary headers to compile with the latest librtclient --- client.cxx | 1 + librtclient | 2 +- ticket.cxx | 5 +++-- user.cxx | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/client.cxx b/client.cxx index 340ff5e..e093e43 100644 --- a/client.cxx +++ b/client.cxx @@ -1,5 +1,6 @@ #include #include +#include #include "qrtclient/client.hxx" namespace RTClient { diff --git a/librtclient b/librtclient index c6d5739..0898723 160000 --- a/librtclient +++ b/librtclient @@ -1 +1 @@ -Subproject commit c6d5739028f2337bd0418084a319705bd5b89840 +Subproject commit 0898723a7387f8e5d3086dd9511d88561ccc2593 diff --git a/ticket.cxx b/ticket.cxx index 461e554..026a23d 100644 --- a/ticket.cxx +++ b/ticket.cxx @@ -1,4 +1,5 @@ -#include +#include +#include #include "qrtclient/ticket.hxx" namespace RTClient { @@ -41,7 +42,7 @@ namespace RTClient { void TicketList::update(rtclient_ticketlist* ticketList) { - for (unsigned int i = 0; i < ticketList->length; i++) + for (size_t i = 0; i < ticketList->length; i++) addTicket(Ticket{ticketList->tickets[i]}); rtclient_ticket_freelist(ticketList); emit updated(); diff --git a/user.cxx b/user.cxx index c9984cb..ee2d2d0 100644 --- a/user.cxx +++ b/user.cxx @@ -1,3 +1,4 @@ +#include #include #include "qrtclient/user.hxx" -- cgit v1.2.3