aboutsummaryrefslogtreecommitdiff
path: root/brep/module.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-15 09:36:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-15 09:36:24 +0200
commit370e361db628f60bca5509dcc354014569d56752 (patch)
tree7aac3a1e5673ea7da104f615f6c79a0af1be85ba /brep/module.cxx
parenta96a346e4ab58729b1f257268f2d2af1ebdca890 (diff)
Some more cleanups
Diffstat (limited to 'brep/module.cxx')
-rw-r--r--brep/module.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/brep/module.cxx b/brep/module.cxx
index 8a9d71a..15e996f 100644
--- a/brep/module.cxx
+++ b/brep/module.cxx
@@ -7,11 +7,10 @@
#include <functional> // bind()
using namespace std;
-using namespace placeholders;
+using namespace placeholders; // For std::bind's _1, etc.
namespace brep
{
-
void module::
handle (request& rq, response& rs, log& l)
{
@@ -27,7 +26,7 @@ namespace brep
//
rs.content (e.status, "text/html;charset=utf-8") << e.description;
}
- catch (server_error& e)
+ catch (server_error& e) // Non-const because of move() below.
{
// @@ Both log and return as 505.
//