summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libadhocutil/case_less.h2
-rw-r--r--libadhocutil/uriParse.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/libadhocutil/case_less.h b/libadhocutil/case_less.h
index fbe3d3b..ee7147d 100644
--- a/libadhocutil/case_less.h
+++ b/libadhocutil/case_less.h
@@ -5,7 +5,9 @@
#include <cstring>
namespace AdHoc {
+ /// STL compatible case-insentive less comparator wrapping strncasecmp
struct case_less {
+ /// Compare a and b
template<typename A, typename B>
inline bool
operator()(const A & a, const B & b) const
diff --git a/libadhocutil/uriParse.h b/libadhocutil/uriParse.h
index f0c3d49..7c1ffb7 100644
--- a/libadhocutil/uriParse.h
+++ b/libadhocutil/uriParse.h
@@ -44,6 +44,7 @@ namespace AdHoc {
/// Constructor accepting what went wrong and the URI being parsed.
InvalidUri(std::string err, std::string uri);
+ /// Get the exception message
std::string message() const noexcept override;
/// The parse error.