[Zrouter-src] ZRouter.org: push to zconf++ libzhttp/request_handler.cpp

zrouter-src at zrouter.org zrouter-src at zrouter.org
Thu Feb 23 10:21:54 UTC 2012


details:   /rev/bb0eeb06468e
changeset: 68:bb0eeb06468e
user:      "Nicolai Petri <nicolai at petri.dk>"
date:      Thu Feb 23 10:41:29 2012 +0100
description:
Don't use C++11 (yet)

diffstat:

 libzhttp/request_handler.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ae5be1e0c26f -r bb0eeb06468e libzhttp/request_handler.cpp
--- a/libzhttp/request_handler.cpp	Wed Feb 22 18:29:10 2012 +0100
+++ b/libzhttp/request_handler.cpp	Thu Feb 23 10:41:29 2012 +0100
@@ -57,7 +57,7 @@
 				return;
 			}
 
-			auto hi = handlers.begin();
+			std::vector<i_request_handler*>::iterator hi = handlers.begin();
 			while (hi != handlers.end()) {
 				if ( (*hi)->can_handle(request_path, req)) {
 					(*hi)->handle(request_path, req, rep);


More information about the Zrouter-src mailing list