Skip to content

Commit

Permalink
Change stddef.h and stdint.h to cstddef and cstdint
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Sep 8, 2024
1 parent fa120f9 commit 0b8d1f4
Show file tree
Hide file tree
Showing 19 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion include/podio/DatamodelRegistry.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef PODIO_DATAMODELREGISTRY_H
#define PODIO_DATAMODELREGISTRY_H

#include <stddef.h>
#include <cstddef>
#include <string>
#include <string_view>
#include <tuple>
Expand Down
2 changes: 1 addition & 1 deletion include/podio/GenericParameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
#include "podio/utilities/TypeHelpers.h"

#include <algorithm>
#include <cstddef>
#include <initializer_list>
#include <iostream>
#include <iterator>
#include <map>
#include <memory>
#include <mutex>
#include <optional>
#include <stddef.h>
#include <string>
#include <tuple>
#include <type_traits>
Expand Down
2 changes: 1 addition & 1 deletion include/podio/RNTupleWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <ROOT/RNTupleModel.hxx>
#include <ROOT/RVersion.hxx>

#include <stdint.h>
#include <cstdint>

namespace ROOT {
namespace Experimental {
Expand Down
2 changes: 1 addition & 1 deletion include/podio/ROOTReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include "podio/utilities/DatamodelRegistryIOHelpers.h"
#include "podio/utilities/RootHelpers.h"

#include <cstddef>
#include <memory>
#include <stddef.h>
#include <string>
#include <string_view>
#include <tuple>
Expand Down
2 changes: 1 addition & 1 deletion include/podio/Reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include "podio/FrameCategories.h"
#include "podio/podioVersion.h"

#include <memory>
#include <cstddef>
#include <memory>
#include <stdexcept>
#include <string>
#include <string_view>
Expand Down
2 changes: 1 addition & 1 deletion include/podio/SchemaEvolution.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#ifndef PODIO_SCHEMAEVOLUTION_H
#define PODIO_SCHEMAEVOLUTION_H

#include <cstddef>
#include <cstdint>
#include <functional>
#include <stddef.h>
#include <string>
#include <unordered_map>
#include <vector>
Expand Down
4 changes: 2 additions & 2 deletions include/podio/UserDataCollection.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
#include "podio/SchemaEvolution.h"
#include "podio/utilities/TypeHelpers.h"

#include <cstddef>
#include <cstdint>
#include <iostream>
#include <stddef.h>
#include <stdint.h>
#include <string_view>
#include <tuple>
#include <type_traits>
Expand Down
2 changes: 1 addition & 1 deletion include/podio/utilities/DatamodelRegistryIOHelpers.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef PODIO_UTILITIES_DATAMODELREGISTRYIOHELPERS_H
#define PODIO_UTILITIES_DATAMODELREGISTRYIOHELPERS_H

#include <cstddef>
#include <set>
#include <stddef.h>
#include <string>
#include <string_view>
#include <tuple>
Expand Down
2 changes: 1 addition & 1 deletion include/podio/utilities/RootHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "podio/GenericParameters.h"

#include <stdint.h>
#include <cstdint>
#include <string>
#include <tuple>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/CollectionBufferFactory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include "podio/CollectionBuffers.h"

#include <stddef.h>
#include <cstddef>
#include <utility>

namespace podio {
Expand Down
2 changes: 1 addition & 1 deletion src/CollectionIDTable.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#include "MurmurHash3.h"

#include <algorithm>
#include <cstddef>
#include <iostream>
#include <iterator>
#include <stddef.h>
#include <utility>

namespace podio {
Expand Down
4 changes: 2 additions & 2 deletions src/RNTupleReader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
#include <ROOT/RNTupleView.hxx>

#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <format>
#include <iostream>
#include <memory>
#include <numeric>
#include <optional>
#include <stddef.h>
#include <stdint.h>
#include <tuple>
#include <utility>

Expand Down
2 changes: 1 addition & 1 deletion src/ROOTLegacyReader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
#include "TFile.h"
#include "TTree.h"

#include <cstddef>
#include <functional>
#include <iostream>
#include <memory>
#include <optional>
#include <stddef.h>
#include <stdexcept>
#include <string>
#include <string_view>
Expand Down
2 changes: 1 addition & 1 deletion src/ROOTWriter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

#include <TBranch.h>
#include <TFile.h>
#include <cstddef>
#include <optional>
#include <stddef.h>
#include <stdexcept>
#include <tuple>
#include <utility>
Expand Down
4 changes: 2 additions & 2 deletions src/test_hashes.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#include "MurmurHash3.h"

#include <cstddef>
#include <cstdint>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <map>
#include <stddef.h>
#include <stdint.h>
#include <string>
#include <tuple>
#include <utility>
Expand Down
2 changes: 1 addition & 1 deletion tests/root_io/read_frame_legacy_root.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#include "podio/ROOTLegacyReader.h"
#include "read_test.h"

#include <cstddef>
#include <iostream>
#include <stddef.h>
#include <stdexcept>
#include <string>

Expand Down
2 changes: 1 addition & 1 deletion tests/root_io/read_frame_root_multiple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#include "read_frame.h"
#include "read_test.h"

#include <cstddef>
#include <iostream>
#include <memory>
#include <stddef.h>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion tests/root_io/relation_range.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#include "podio/ROOTWriter.h"
#include "podio/RelationRange.h"

#include <cstddef>
#include <iostream>
#include <sstream>
#include <stddef.h>
#include <stdexcept>
#include <string>
#include <utility>
Expand Down
2 changes: 1 addition & 1 deletion tests/unittests/unittest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include <array>
#include <compare>
#include <cstddef>
#include <cstdint>
#include <filesystem>
#include <iostream>
Expand All @@ -15,7 +16,6 @@
#include <optional>
#include <set>
#include <sstream>
#include <stddef.h>
#include <stdexcept>
#include <string>
#include <thread>
Expand Down

0 comments on commit 0b8d1f4

Please sign in to comment.