Skip to content

Commit

Permalink
Do not forward declare podio::ObjectID (#31)
Browse files Browse the repository at this point in the history
* Add podio and an alias library

* Don't forward declare podio::ObjectID

* Use the correct spelling

---------

Co-authored-by: jmcarcell <[email protected]>
  • Loading branch information
jmcarcell and jmcarcell authored Oct 19, 2023
1 parent a9c3df7 commit f5bad31
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ endif()
include(cmake/compiler_output.cmake)

find_package(LCIO REQUIRED)
find_package(podio REQUIRED)
find_package(EDM4HEP REQUIRED)

add_subdirectory(k4EDM4hep2LcioConv)
Expand Down
1 change: 1 addition & 0 deletions k4EDM4hep2LcioConv/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ add_library(k4EDM4hep2LcioConv SHARED
src/k4EDM4hep2LcioConv.cpp
src/k4Lcio2EDM4hepConv.cpp
)
add_library(k4EDM4hep2LcioConv::k4EDM4hep2LcioConv ALIAS k4EDM4hep2LcioConv)

target_include_directories(k4EDM4hep2LcioConv PUBLIC
${LCIO_INCLUDE_DIRS}
Expand Down
1 change: 0 additions & 1 deletion tests/src/ComparisonUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "EVENT/LCCollection.h"

#include "podio/RelationRange.h"
#include "podio/ObjectID.h"

#include <cmath>
#include <array>
Expand Down
1 change: 0 additions & 1 deletion tests/src/ObjectMapping.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "edm4hep/RawTimeSeriesCollection.h"
#include "edm4hep/VertexCollection.h"

#include "podio/ObjectID.h"
#include "podio/Frame.h"

template<typename LcioT, typename EDM4hepT, typename MapT>
Expand Down
2 changes: 1 addition & 1 deletion tests/src/ObjectMapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define K4EDM4HEP2LCIOCONV_TEST_OBJECTMAPPINGS_H

#include <unordered_map>
#include "podio/ObjectID.h"

namespace EVENT {
class Track;
Expand All @@ -20,7 +21,6 @@ namespace EVENT {
} // namespace EVENT

namespace podio {
class ObjectID;
class Frame;
} // namespace podio

Expand Down

0 comments on commit f5bad31

Please sign in to comment.