diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-20 10:25:52 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-20 10:25:52 +0800 |
commit | 323c8d0d1d39032f4a5716708279134a65ccd3f2 (patch) | |
tree | 7a3aed49207b4aba7725ed2fd5bee26b92e52fed | |
parent | 6a5a3ba58a94b1eb4ce53ea89a54e21c53c65561 (diff) |
Include more necessary headers to compile
with the latest librtclient
-rw-r--r-- | client.cxx | 1 | ||||
m--------- | librtclient | 0 | ||||
-rw-r--r-- | ticket.cxx | 5 | ||||
-rw-r--r-- | user.cxx | 1 |
4 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,6 @@ #include <QStringBuilder> #include <rtclient/client.h> +#include <rtclient/ticket.h> #include "qrtclient/client.hxx" namespace RTClient { diff --git a/librtclient b/librtclient -Subproject c6d5739028f2337bd0418084a319705bd5b8984 +Subproject 0898723a7387f8e5d3086dd9511d88561ccc259 @@ -1,4 +1,5 @@ -#include <rtclient/client.h> +#include <cstddef> +#include <rtclient/ticket.h> #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(); @@ -1,3 +1,4 @@ +#include <cstddef> #include <rtclient/client.h> #include "qrtclient/user.hxx" |