rename clear() function to reduce camel case noise
This commit is contained in:
parent
ad4fb5afe3
commit
69e59b0ced
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright (c) 2013, Project OSRM, Dennis Luxen, others
|
Copyright (c) 2015, Project OSRM, Dennis Luxen, others
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification,
|
Redistribution and use in source and binary forms, with or without modification,
|
||||||
@ -35,11 +35,11 @@ namespace http
|
|||||||
{
|
{
|
||||||
struct Header
|
struct Header
|
||||||
{
|
{
|
||||||
Header& operator=(const Header& other) = default;
|
Header &operator=(const Header &other) = default;
|
||||||
Header(const std::string & name, const std::string & value) : name(name), value(value) {}
|
Header(const std::string &name, const std::string &value) : name(name), value(value) {}
|
||||||
Header(Header && other) : name(std::move(other.name)), value(std::move(other.value)) {}
|
Header(Header &&other) : name(std::move(other.name)), value(std::move(other.value)) {}
|
||||||
|
|
||||||
void Clear()
|
void clear()
|
||||||
{
|
{
|
||||||
name.clear();
|
name.clear();
|
||||||
value.clear();
|
value.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user