diff options
author | Aaron Burghardt | 2014-08-16 17:48:45 -0400 |
---|---|---|
committer | Nikias Bassen | 2014-09-20 00:10:46 +0200 |
commit | b6c43e901c1ee3ded15261621be1aaa090dab984 (patch) | |
tree | 218257fc8751fc0fc979d292acd9162278cadcd7 /src/Structure.cpp | |
parent | ccd6f05fe1e6cd5a1611b0df78974fa39869013d (diff) | |
download | libplist-b6c43e901c1ee3ded15261621be1aaa090dab984.tar.gz libplist-b6c43e901c1ee3ded15261621be1aaa090dab984.tar.bz2 |
Added const to Array.GetSize(), and to 3 Node methods.
Diffstat (limited to 'src/Structure.cpp')
-rw-r--r-- | src/Structure.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Structure.cpp b/src/Structure.cpp index 18b19ef..70150c2 100644 --- a/src/Structure.cpp +++ b/src/Structure.cpp @@ -35,7 +35,7 @@ Structure::~Structure() { } -uint32_t Structure::GetSize() +uint32_t Structure::GetSize() const { uint32_t size = 0; plist_type type = plist_get_node_type(_node); @@ -50,7 +50,7 @@ uint32_t Structure::GetSize() return size; } -std::string Structure::ToXml() +std::string Structure::ToXml() const { char* xml = NULL; uint32_t length = 0; @@ -60,7 +60,7 @@ std::string Structure::ToXml() return ret; } -std::vector<char> Structure::ToBin() +std::vector<char> Structure::ToBin() const { char* bin = NULL; uint32_t length = 0; |