Skip to content

Commit

Permalink
Fixes for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwbrei committed Jul 3, 2024
1 parent bee140c commit 2876b45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ docs/latex/*
*.swp
cmake-build*/
.idea/*
.cache

# PODIO generated artifacts
src/examples/PodioExample/datamodel/*
Expand Down
5 changes: 5 additions & 0 deletions src/libraries/JANA/JEventSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ class JEventSource : public jana::omni::JComponent, public jana::omni::JHasOutpu
}
}

[[deprecated("Replaced by JEventSource::DoOpen()")]]
virtual void DoInitialize() {
DoOpen();
}

virtual void DoOpen(bool with_lock=true) {
if (with_lock) {
std::lock_guard<std::mutex> lock(m_mutex);
Expand Down

0 comments on commit 2876b45

Please sign in to comment.