Skip to content

Commit

Permalink
Make CustomConnection pointer semantics actually accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Jan 22, 2022
1 parent 35bee5b commit 3271d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/platform/linux/base_linux_xcb_utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct ConnectionDeleter {

using ConnectionPointer = std::unique_ptr<xcb_connection_t, ConnectionDeleter>;

class CustomConnection : ConnectionPointer {
class CustomConnection : public ConnectionPointer {
public:
CustomConnection()
: ConnectionPointer(xcb_connect(nullptr, nullptr)) {
Expand Down

0 comments on commit 3271d6c

Please sign in to comment.