diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-25 16:41:44 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-25 16:41:44 -0700 |
commit | 28b30ff302ed535b1e81902f06d24c9e9fe61c19 (patch) | |
tree | 80887a7f8fa0c602ccb6c88257dc6b41bf51e2b1 /perl_dmod/Cstore/Cstore.xs | |
parent | 17e3a880453dc220e5a235df1e21dabfa89f1e8e (diff) | |
download | vyatta-cfg-28b30ff302ed535b1e81902f06d24c9e9fe61c19.tar.gz vyatta-cfg-28b30ff302ed535b1e81902f06d24c9e9fe61c19.zip |
switch to unordered_map
Diffstat (limited to 'perl_dmod/Cstore/Cstore.xs')
-rw-r--r-- | perl_dmod/Cstore/Cstore.xs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/perl_dmod/Cstore/Cstore.xs b/perl_dmod/Cstore/Cstore.xs index 4a726e7..ebef08f 100644 --- a/perl_dmod/Cstore/Cstore.xs +++ b/perl_dmod/Cstore/Cstore.xs @@ -25,7 +25,6 @@ #include <cstring> #include <vector> #include <string> -#include <map> /* currently use the UnionfsCstore implementation */ #include <cstore/unionfs/cstore-unionfs.hpp> @@ -205,7 +204,7 @@ Cstore::cfgPathGetChildNodesStatus(STRVEC *vref) PREINIT: vector<string> arg_strvec; CODE: - map<string, string> ret_strstrmap; + Cstore::MapT<string, string> ret_strstrmap; THIS->cfgPathGetChildNodesStatus(arg_strvec, ret_strstrmap); OUTPUT: RETVAL @@ -263,7 +262,7 @@ Cstore::cfgPathGetChildNodesStatusDA(STRVEC *vref) PREINIT: vector<string> arg_strvec; CODE: - map<string, string> ret_strstrmap; + Cstore::MapT<string, string> ret_strstrmap; THIS->cfgPathGetChildNodesStatusDA(arg_strvec, ret_strstrmap); OUTPUT: RETVAL @@ -295,7 +294,7 @@ Cstore::getParsedTmpl(STRVEC *vref, bool allow_val) PREINIT: vector<string> arg_strvec; CODE: - map<string, string> ret_strstrmap; + Cstore::MapT<string, string> ret_strstrmap; if (!THIS->getParsedTmpl(arg_strvec, ret_strstrmap, allow_val)) { XSRETURN_UNDEF; } |