Skip to content

Commit

Permalink
fix(server): add missing header for libc++ after 7d0be51
Browse files Browse the repository at this point in the history
In file included from server/security_context_v1.cpp:6:
server/security_context_v1_p.h:110:10: error: no template named 'unordered_map' in namespace 'std'
    std::unordered_map<uint32_t, std::unique_ptr<security_context_inviter>> inviters;
    ~~~~~^
server/security_context_v1.cpp:26:5: error: cannot initialize object parameter of type 'Wrapland::Server::Wayland::Global<Wrapland::Server::security_context_manager_v1, 1>' with an expression of type 'Wrapland::Server::security_context_manager_v1::Private'
    create();
    ^~~~~~
server/security_context_v1.cpp:42:39: error: cannot initialize object parameter of type 'Wrapland::Server::Wayland::Global<Wrapland::Server::security_context_manager_v1, 1>' with an expression of type 'Wrapland::Server::security_context_manager_v1::Private'
        listen_fd, close_fd, app_id, *handle->d_ptr->display()->handle, [this, index] {
                                      ^~~~~~~~~~~~~~~
3 errors generated.
  • Loading branch information
jbeich authored and romangg committed Apr 9, 2024
1 parent f3a01c2 commit 13e266f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/security_context_v1_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <sys/poll.h>
#include <sys/socket.h>
#include <unistd.h>
#include <unordered_map>
#include <wayland-security-context-staging-v1-server-protocol.h>

namespace Wrapland::Server
Expand Down

0 comments on commit 13e266f

Please sign in to comment.