lib: avoiding non-const references
commitca67fb2e8f0e6360f511ac658c893f28f4baa4a6
authorChris Frey <cdfrey@foursquare.net>
Fri, 3 Sep 2010 21:17:31 +0000 (3 17:17 -0400)
committerChris Frey <cdfrey@foursquare.net>
Fri, 3 Sep 2010 21:49:14 +0000 (3 17:49 -0400)
treedd7c981f50d665b23386382a5e81846ac47827ea
parent0def08772ae03c6ad848e8805614ed4a6eda23fb
lib: avoiding non-const references

A non-const reference prevents constructing a shared_ptr on the fly,
and passing it into the function, as far as I know.  It might
be conceivable that a user might not care about the handler after
passing it in.
src/router.cc
src/router.h
src/socket.cc
src/socket.h