Mentions légales du service

Skip to content
Snippets Groups Projects
Verified Commit ddb3c2ea authored by Mattéo Delabre's avatar Mattéo Delabre
Browse files

Fix IWYU warnings

parent 79d77599
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,13 @@
#include "rmioc/input.hpp"
#include "rmioc/screen.hpp"
#include <bitset>
#include <cstdlib>
#include <iterator>
#include <map>
#include <ostream>
#include <utility>
#include <rfb/rfbclient.h>
// IWYU pragma: no_include <type_traits>
/**
* Minimal move in pixels to consider that a touchpoint has been dragged
......
#include "client.hpp"
#include "log.hpp"
#include "rmioc/screen.hpp"
#include <algorithm>
#include <chrono>
#include <ostream>
#include <rfb/rfbclient.h>
// IWYU pragma: no_include <type_traits>
// IWYU pragma: no_include <rfb/rfbproto.h>
namespace chrono = std::chrono;
......
......@@ -5,12 +5,13 @@
#include <algorithm>
#include <cerrno>
#include <chrono>
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <stdexcept>
#include <system_error>
#include <fcntl.h>
#include <poll.h>
#include <rfb/rfbclient.h>
#include <unistd.h>
......@@ -119,7 +120,7 @@ void client::event_loop()
// Flag used for quitting the event loop
bool quit = false;
auto handle_status = [this, &timeout, &quit](const event_loop_status& st)
auto handle_status = [&timeout, &quit](const event_loop_status& st)
{
if (st.quit)
{
......
......@@ -3,7 +3,6 @@
#include <chrono>
#include <map>
#include <utility>
#include <rfb/rfbclient.h>
// IWYU pragma: no_include <rfb/rfbproto.h>
......
......@@ -4,6 +4,8 @@
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <stdexcept> // IWYU pragma: keep
// IWYU pragma: no_include <bits/exception.h>
#include <string>
int main(int argc, const char* argv[])
......
#include "input.hpp"
#include <cerrno>
#include <iostream>
#include <system_error>
#include <fcntl.h>
#include <linux/input.h>
#include <linux/input-event-codes.h>
......
......@@ -3,8 +3,7 @@
#include <map>
#include <vector>
struct input_event;
#include <linux/input.h>
namespace rmioc
{
......
......@@ -3,7 +3,6 @@
#include <cerrno>
#include <cstdint>
#include <cstdio>
#include <iostream>
#include <system_error>
#include <fcntl.h>
#include <sys/mman.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment