diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Utils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp index a88b2ba..df003e7 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp | |||
| @@ -89,18 +89,18 @@ static Structure* ImportStruct(plist_t root) | |||
| 89 | return ret; | 89 | return ret; |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | Structure* Utils::FromXml(const std::string& in) | 92 | Structure* Utils::FromXml(const std::string& xml) |
| 93 | { | 93 | { |
| 94 | plist_t root = NULL; | 94 | plist_t root = NULL; |
| 95 | plist_from_xml(in.c_str(), in.size(), &root); | 95 | plist_from_xml(xml.c_str(), xml.size(), &root); |
| 96 | 96 | ||
| 97 | return ImportStruct(root); | 97 | return ImportStruct(root); |
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | Structure* Utils::FromBin(const std::vector<char>& in) | 100 | Structure* Utils::FromBin(const std::vector<char>& bin) |
| 101 | { | 101 | { |
| 102 | plist_t root = NULL; | 102 | plist_t root = NULL; |
| 103 | plist_from_bin(&in[0], in.size(), &root); | 103 | plist_from_bin(&bin[0], bin.size(), &root); |
| 104 | 104 | ||
| 105 | return ImportStruct(root); | 105 | return ImportStruct(root); |
| 106 | 106 | ||
