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);
}
} // 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);
} // namespace http
} // namespace paxos
#include "parse.hxx"
+1 -1
View File
@@ -29,4 +29,4 @@ namespace paxos
return 1;
}
} // namespace http
} // namespace paxos
+1 -1
View File
@@ -73,4 +73,4 @@ namespace paxos
};
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()}
{}
};
} //namespace http
} //namespace paxos
+1 -1
View File
@@ -12,4 +12,4 @@ namespace paxos
: std::system_error{errno, std::system_category()}
{}
};
} //namespace http
} //namespace paxos
+2 -2
View File
@@ -3,7 +3,7 @@
#include <stdexcept>
#include <string>
namespace http
namespace paxos
{
struct InitializationError : public std::logic_error
{
@@ -12,4 +12,4 @@ namespace http
{}
virtual ~InitializationError() = default;
};
} // namespace http
} // namespace paxos
+2 -2
View File
@@ -2,7 +2,7 @@
#include <stdexcept>
namespace http
namespace paxos
{
class NotImplemented : public std::logic_error
{
@@ -12,4 +12,4 @@ namespace http
{}
virtual ~NotImplemented() = default;
};
} // namespace http
} // namespace paxos
+1 -1
View File
@@ -12,4 +12,4 @@ namespace paxos
{}
virtual ~ParsingError() = default;
};
} // namespace http
} // namespace paxos
+1 -1
View File
@@ -92,4 +92,4 @@ namespace paxos
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();
(*shared_ew)();
}
} // namespace http
} // namespace paxos
+1 -1
View File
@@ -72,4 +72,4 @@ namespace paxos
*/
ev_io watcher_;
};
} // namespace http
} // namespace paxos
+1 -1
View File
@@ -36,4 +36,4 @@ namespace paxos
*/
uint16_t port_;
};
} // namespace http
} // namespace paxos
+1 -1
View File
@@ -93,6 +93,6 @@ namespace paxos
* \brief Service object.
*/
extern EventWatcherRegistry event_register;
} // namespace http
} // namespace paxos
#include "events/register.hxx"
+1 -1
View File
@@ -15,4 +15,4 @@ namespace paxos
return ew;
}
} // namespace http
} // namespace paxos
+1 -1
View File
@@ -32,4 +32,4 @@ namespace paxos
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";
}
} // namespace http
} // namespace paxos
+1 -1
View File
@@ -17,4 +17,4 @@ namespace paxos
};
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).
} // namespace http
} // namespace paxos
+1 -1
View File
@@ -46,4 +46,4 @@ namespace paxos
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>;
} // 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.