Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Single-parameter constructors should be marked explicit. #62

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mamil
Copy link

@mamil mamil commented Sep 22, 2019

No description provided.

@@ -46,7 +46,7 @@ class path_collecting_functor
{
request_router_story & _story_obj;
public:
path_collecting_functor(request_router_story & story_obj)
explicit path_collecting_functor(request_router_story & story_obj)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

#include <served/status.hpp>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was anything changed? I don't think this line should be committed

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to have a newline at end of file

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants