diff options
| author | 2020-05-30 20:14:35 -0700 | |
|---|---|---|
| committer | 2020-06-03 20:00:34 +0200 | |
| commit | 319de9a78e5346dabb9a3a8e985679a602d27dbb (patch) | |
| tree | ed20573215a7a8e674e3e9965d29bb79db4d0942 /src | |
| parent | aa450796af628119e4348f10b6d45c282ed68bbe (diff) | |
| download | libplist-319de9a78e5346dabb9a3a8e985679a602d27dbb.tar.gz libplist-319de9a78e5346dabb9a3a8e985679a602d27dbb.tar.bz2 | |
c++: Switch to c++ headers
[clang-tidy]Found with hicpp-deprecated-headers
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/Array.cpp | 4 | ||||
| -rw-r--r-- | src/Boolean.cpp | 2 | ||||
| -rw-r--r-- | src/Data.cpp | 2 | ||||
| -rw-r--r-- | src/Date.cpp | 2 | ||||
| -rw-r--r-- | src/Dictionary.cpp | 2 | ||||
| -rw-r--r-- | src/Integer.cpp | 2 | ||||
| -rw-r--r-- | src/Key.cpp | 2 | ||||
| -rw-r--r-- | src/Node.cpp | 2 | ||||
| -rw-r--r-- | src/Real.cpp | 2 | ||||
| -rw-r--r-- | src/String.cpp | 2 | ||||
| -rw-r--r-- | src/Structure.cpp | 2 | ||||
| -rw-r--r-- | src/Uid.cpp | 2 |
12 files changed, 13 insertions, 13 deletions
diff --git a/src/Array.cpp b/src/Array.cpp index f6e1297..22c254b 100644 --- a/src/Array.cpp +++ b/src/Array.cpp | |||
| @@ -18,11 +18,11 @@ | |||
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <stdlib.h> | ||
| 22 | #include <plist/Array.h> | 21 | #include <plist/Array.h> |
| 23 | 22 | ||
| 24 | #include <algorithm> | 23 | #include <algorithm> |
| 25 | #include <limits.h> | 24 | #include <climits> |
| 25 | #include <cstdlib> | ||
| 26 | 26 | ||
| 27 | namespace PList | 27 | namespace PList |
| 28 | { | 28 | { |
diff --git a/src/Boolean.cpp b/src/Boolean.cpp index 35f2a57..9f14904 100644 --- a/src/Boolean.cpp +++ b/src/Boolean.cpp | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <stdlib.h> | 21 | #include <cstdlib> |
| 22 | #include <plist/Boolean.h> | 22 | #include <plist/Boolean.h> |
| 23 | 23 | ||
| 24 | namespace PList | 24 | namespace PList |
diff --git a/src/Data.cpp b/src/Data.cpp index 11439d3..89b4f4e 100644 --- a/src/Data.cpp +++ b/src/Data.cpp | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <stdlib.h> | 21 | #include <cstdlib> |
| 22 | #include <plist/Data.h> | 22 | #include <plist/Data.h> |
| 23 | 23 | ||
| 24 | namespace PList | 24 | namespace PList |
diff --git a/src/Date.cpp b/src/Date.cpp index 87e8a50..a3c8592 100644 --- a/src/Date.cpp +++ b/src/Date.cpp | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <stdlib.h> | 21 | #include <cstdlib> |
| 22 | #include <plist/Date.h> | 22 | #include <plist/Date.h> |
| 23 | 23 | ||
| 24 | namespace PList | 24 | namespace PList |
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp index cc4626b..6da0eee 100644 --- a/src/Dictionary.cpp +++ b/src/Dictionary.cpp | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <stdlib.h> | 21 | #include <cstdlib> |
| 22 | #include <plist/Dictionary.h> | 22 | #include <plist/Dictionary.h> |
| 23 | 23 | ||
| 24 | namespace PList | 24 | namespace PList |
diff --git a/src/Integer.cpp b/src/Integer.cpp index e357f72..d394ee1 100644 --- a/src/Integer.cpp +++ b/src/Integer.cpp | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <stdlib.h> | 21 | #include <cstdlib> |
| 22 | #include <plist/Integer.h> | 22 | #include <plist/Integer.h> |
| 23 | 23 | ||
| 24 | namespace PList | 24 | namespace PList |
diff --git a/src/Key.cpp b/src/Key.cpp index 2e92f20..8c96e59 100644 --- a/src/Key.cpp +++ b/src/Key.cpp | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <stdlib.h> | 21 | #include <cstdlib> |
| 22 | #include <plist/Key.h> | 22 | #include <plist/Key.h> |
| 23 | 23 | ||
| 24 | namespace PList | 24 | namespace PList |
diff --git a/src/Node.cpp b/src/Node.cpp index 51ecd75..fb79911 100644 --- a/src/Node.cpp +++ b/src/Node.cpp | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <stdlib.h> | 21 | #include <cstdlib> |
| 22 | #include <plist/Node.h> | 22 | #include <plist/Node.h> |
| 23 | #include <plist/Structure.h> | 23 | #include <plist/Structure.h> |
| 24 | #include <plist/Dictionary.h> | 24 | #include <plist/Dictionary.h> |
diff --git a/src/Real.cpp b/src/Real.cpp index 4587701..3ac67f2 100644 --- a/src/Real.cpp +++ b/src/Real.cpp | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <stdlib.h> | 21 | #include <cstdlib> |
| 22 | #include <plist/Real.h> | 22 | #include <plist/Real.h> |
| 23 | 23 | ||
| 24 | namespace PList | 24 | namespace PList |
diff --git a/src/String.cpp b/src/String.cpp index 7bc3abc..39717c2 100644 --- a/src/String.cpp +++ b/src/String.cpp | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <stdlib.h> | 21 | #include <cstdlib> |
| 22 | #include <plist/String.h> | 22 | #include <plist/String.h> |
| 23 | 23 | ||
| 24 | namespace PList | 24 | namespace PList |
diff --git a/src/Structure.cpp b/src/Structure.cpp index a06618d..9445c23 100644 --- a/src/Structure.cpp +++ b/src/Structure.cpp | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <stdlib.h> | 21 | #include <cstdlib> |
| 22 | #include <plist/Structure.h> | 22 | #include <plist/Structure.h> |
| 23 | 23 | ||
| 24 | namespace PList | 24 | namespace PList |
diff --git a/src/Uid.cpp b/src/Uid.cpp index 6456dce..204cd68 100644 --- a/src/Uid.cpp +++ b/src/Uid.cpp | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <stdlib.h> | 21 | #include <cstdlib> |
| 22 | #include <plist/Uid.h> | 22 | #include <plist/Uid.h> |
| 23 | 23 | ||
| 24 | namespace PList | 24 | namespace PList |
