Skip to content

Commit 8db7a3f

Browse files
author
Sebastiano Merlino
committed
Avoid warnings during clang compilation
Match class/struct in both definition and declaration
1 parent a45ea31 commit 8db7a3f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/httpserver/details/http_endpoint.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class webserver;
3838
namespace details
3939
{
4040

41-
struct http_resource_mirror;
41+
class http_resource_mirror;
4242

4343
/**
4444
* Exception class throwed when a bad formatted http url is used

src/httpserver/webserver.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ namespace details {
6363
class http_resource_mirror;
6464
class event_tuple;
6565
class http_endpoint;
66-
class daemon_item;
67-
class modded_request;
66+
struct daemon_item;
67+
struct modded_request;
6868
struct cache_entry;
6969
}
7070

0 commit comments

Comments
 (0)