Skip to content

Commit 155da04

Browse files
pre-commit-ci[bot]franzpoeschel
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c25ef93 commit 155da04

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

include/openPMD/backend/ContainerImpl.tpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ auto Container<T, T_key, T_container>::operator[](key_type const &key)
131131
return it->second;
132132
else
133133
{
134-
if (IOHandler()->m_seriesStatus !=
135-
internal::SeriesStatus::Parsing &&
134+
if (IOHandler()->m_seriesStatus != internal::SeriesStatus::Parsing &&
136135
access::readOnly(IOHandler()->m_frontendAccess))
137136
{
138137
auxiliary::OutOfRangeMsg const out_of_range_msg;

src/Series.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
#include "openPMD/backend/Attributable.hpp"
4141
#include "openPMD/backend/Attribute.hpp"
4242
#include "openPMD/backend/Variant_internal.hpp"
43+
#include "openPMD/backend/Writable.hpp"
4344
#include "openPMD/snapshots/ContainerImpls.hpp"
4445
#include "openPMD/snapshots/ContainerTraits.hpp"
45-
#include "openPMD/backend/Writable.hpp"
4646
#include "openPMD/snapshots/Snapshots.hpp"
4747
#include "openPMD/snapshots/StatefulIterator.hpp"
4848
#include "openPMD/version.hpp"

0 commit comments

Comments
 (0)