From: Maxim Mamontov Date: Mon, 4 Apr 2011 14:23:05 +0000 (+0300) Subject: Add vector definition to divert_cap.cpp X-Git-Tag: 2.407-rc3~96 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/675f54bb620f9457bf45450308e0ee0659c8e46a?hp=13c0311334b625cb0e7f77c26615a0efe5231eaa Add vector definition to divert_cap.cpp --- diff --git a/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp b/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp index 5d49f692..ca308593 100644 --- a/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp +++ b/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp @@ -41,6 +41,7 @@ $Date: 2010/09/10 06:43:03 $ #include #include +#include #include "common.h" #include "divert_cap.h" @@ -277,7 +278,7 @@ int DIVERT_CAP::ParseSettings() { int p; PARAM_VALUE pv; -vector::const_iterator pvi; +std::vector::const_iterator pvi; pv.param = "Port"; pvi = std::find(settings.moduleParams.begin(), settings.moduleParams.end(), pv);