Fix obsolete comment

This commit is contained in:
juju committed 2020-05-06 18:51:50 +02:00
1 parent bc3c57330c
commit 312eaab0be
21 files changed
+23 -23

No files matched your search

+1 -1
View File
@@ -9,4 +9,4 @@ namespace paxos
exit(code); exit(code);
} }
} // namespace http } // namespace paxos
+1 -1
View File
@@ -7,6 +7,6 @@ namespace paxos
{ {
[[noreturn]] void error_and_exit(int code, const std::string& error); [[noreturn]] void error_and_exit(int code, const std::string& error);
} // namespace http } // namespace paxos
#include "parse.hxx" #include "parse.hxx"
+1 -1
View File
@@ -29,4 +29,4 @@ namespace paxos
return 1; return 1;
} }
} // namespace http } // namespace paxos
+1 -1
View File
@@ -73,4 +73,4 @@ namespace paxos
}; };
using shared_connection = std::shared_ptr<Connection>; using shared_connection = std::shared_ptr<Connection>;
} // namespace http } // namespace paxos
+1 -1
View File
@@ -12,4 +12,4 @@ namespace paxos
: std::system_error{errno, std::system_category()} : std::system_error{errno, std::system_category()}
{} {}
}; };
} //namespace http } //namespace paxos
+1 -1
View File
@@ -12,4 +12,4 @@ namespace paxos
: std::system_error{errno, std::system_category()} : std::system_error{errno, std::system_category()}
{} {}
}; };
} //namespace http } //namespace paxos
+2 -2
View File
@@ -3,7 +3,7 @@
#include <stdexcept> #include <stdexcept>
#include <string> #include <string>
namespace http namespace paxos
{ {
struct InitializationError : public std::logic_error struct InitializationError : public std::logic_error
{ {
@@ -12,4 +12,4 @@ namespace http
{} {}
virtual ~InitializationError() = default; virtual ~InitializationError() = default;
}; };
} // namespace http } // namespace paxos
+2 -2
View File
@@ -2,7 +2,7 @@
#include <stdexcept> #include <stdexcept>
namespace http namespace paxos
{ {
class NotImplemented : public std::logic_error class NotImplemented : public std::logic_error
{ {
@@ -12,4 +12,4 @@ namespace http
{} {}
virtual ~NotImplemented() = default; virtual ~NotImplemented() = default;
}; };
} // namespace http } // namespace paxos
+1 -1
View File
@@ -12,4 +12,4 @@ namespace paxos
{} {}
virtual ~ParsingError() = default; virtual ~ParsingError() = default;
}; };
} // namespace http } // namespace paxos
+1 -1
View File
@@ -92,4 +92,4 @@ namespace paxos
struct ev_loop* loop; struct ev_loop* loop;
}; };
} // namespace http } // namespace paxos
+1 -1
View File
@@ -17,4 +17,4 @@ namespace paxos
auto shared_ew = event_register.at(ew).value(); auto shared_ew = event_register.at(ew).value();
(*shared_ew)(); (*shared_ew)();
} }
} // namespace http } // namespace paxos
+1 -1
View File
@@ -72,4 +72,4 @@ namespace paxos
*/ */
ev_io watcher_; ev_io watcher_;
}; };
} // namespace http } // namespace paxos
+1 -1
View File
@@ -36,4 +36,4 @@ namespace paxos
*/ */
uint16_t port_; uint16_t port_;
}; };
} // namespace http } // namespace paxos
+1 -1
View File
@@ -93,6 +93,6 @@ namespace paxos
* \brief Service object. * \brief Service object.
*/ */
extern EventWatcherRegistry event_register; extern EventWatcherRegistry event_register;
} // namespace http } // namespace paxos
#include "events/register.hxx" #include "events/register.hxx"
+1 -1
View File
@@ -15,4 +15,4 @@ namespace paxos
return ew; return ew;
} }
} // namespace http } // namespace paxos
+1 -1
View File
@@ -32,4 +32,4 @@ namespace paxos
shared_connection connection_; shared_connection connection_;
}; };
} // namespace http } // namespace paxos
+1 -1
View File
@@ -8,4 +8,4 @@ namespace paxos
{ {
std::cout << "\033[1;" + std::to_string(color) + "m" + str + "\033[0m\n"; std::cout << "\033[1;" + std::to_string(color) + "m" + str + "\033[0m\n";
} }
} // namespace http } // namespace paxos
+1 -1
View File
@@ -17,4 +17,4 @@ namespace paxos
}; };
void log(std::string str, Color color); void log(std::string str, Color color);
} // namespace http } // namespace paxos
+1 -1
View File
@@ -78,4 +78,4 @@ namespace paxos
} }
// Implement all other methods (see header). // Implement all other methods (see header).
} // namespace http } // namespace paxos
+1 -1
View File
@@ -46,4 +46,4 @@ namespace paxos
void connect(const sockaddr*, socklen_t) final; void connect(const sockaddr*, socklen_t) final;
}; };
} // namespace http } // namespace paxos
+1 -1
View File
@@ -186,4 +186,4 @@ namespace paxos
}; };
using shared_socket = std::shared_ptr<Socket>; using shared_socket = std::shared_ptr<Socket>;
} // namespace http } // namespace paxos
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.