diff options
| author | 2009-10-16 22:26:13 +0200 | |
|---|---|---|
| committer | 2009-10-16 22:26:13 +0200 | |
| commit | 32be8ec384bfd78e189d3de6609e50cf4dd072a2 (patch) | |
| tree | ac7edad0f19be2a31efaaaaa3acd477dd2f3c233 /include/plist/Utils.h | |
| parent | 8aeef4dd2331445fea8a7a40466b19973e9d09c4 (diff) | |
| download | libplist-32be8ec384bfd78e189d3de6609e50cf4dd072a2.tar.gz libplist-32be8ec384bfd78e189d3de6609e50cf4dd072a2.tar.bz2 | |
Fix Node lifecycle and change argument as reference to const reference.
Diffstat (limited to 'include/plist/Utils.h')
| -rw-r--r-- | include/plist/Utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/plist/Utils.h b/include/plist/Utils.h index b499635..f3e2685 100644 --- a/include/plist/Utils.h +++ b/include/plist/Utils.h | |||
| @@ -30,8 +30,8 @@ namespace PList | |||
| 30 | class Utils | 30 | class Utils |
| 31 | { | 31 | { |
| 32 | public: | 32 | public: |
| 33 | static Structure* FromXml(std::string& in); | 33 | static Structure* FromXml(const std::string& in); |
| 34 | static Structure* FromBin(std::vector<char>& in); | 34 | static Structure* FromBin(const std::vector<char>& in); |
| 35 | 35 | ||
| 36 | private: | 36 | private: |
| 37 | Utils(); | 37 | Utils(); |
