Test UnboundedBlockingQueue in ThreadPoolExecutorTest
[folly.git] / folly / Uri.cpp
index 03fe3a06c3620b55c1a15b3bbc497a494ddf8d19..d1bdfae73b736c1d59bc0bb5e8f357a71c1f7281 100644 (file)
@@ -16,7 +16,8 @@
 
 #include <folly/Uri.h>
 
-#include <ctype.h>
+#include <cctype>
+
 #include <boost/regex.hpp>
 
 namespace folly {
@@ -35,7 +36,7 @@ void toLower(String& s) {
   }
 }
 
-}  // namespace
+} // namespace
 
 Uri::Uri(StringPiece str) : hasAuthority_(false), port_(0) {
   static const boost::regex uriRegex(
@@ -158,4 +159,4 @@ const std::vector<std::pair<std::string, std::string>>& Uri::getQueryParams() {
   return queryParams_;
 }
 
-}  // namespace folly
+} // namespace folly