Skip to content

Commit

Permalink
format conflict after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed May 14, 2021
1 parent 6a02790 commit 0d7ab3e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
14 changes: 7 additions & 7 deletions sdk/include/opentelemetry/sdk/metrics/async_instruments.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ namespace sdk
namespace metrics
{

#if defined(_MSC_VER)
# pragma warning(push)
# pragma warning(disable : 4250) // inheriting methods via dominance
#endif
# if defined(_MSC_VER)
# pragma warning(push)
# pragma warning(disable : 4250) // inheriting methods via dominance
# endif

template <class T>
class ValueObserver : public AsynchronousInstrument<T>, virtual public metrics_api::ValueObserver<T>
Expand Down Expand Up @@ -273,9 +273,9 @@ class UpDownSumObserver : public AsynchronousInstrument<T>,
std::unordered_map<std::string, std::shared_ptr<Aggregator<T>>> boundAggregators_;
};

#if defined(_MSC_VER)
# pragma warning(pop)
#endif
# if defined(_MSC_VER)
# pragma warning(pop)
# endif

} // namespace metrics
} // namespace sdk
Expand Down
14 changes: 7 additions & 7 deletions sdk/include/opentelemetry/sdk/metrics/instrument.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ namespace sdk
namespace metrics
{

#if defined(_MSC_VER)
# pragma warning(push)
# pragma warning(disable : 4250) // inheriting methods via dominance
#endif
# if defined(_MSC_VER)
# pragma warning(push)
# pragma warning(disable : 4250) // inheriting methods via dominance
# endif

class Instrument : virtual public metrics_api::Instrument
{
Expand Down Expand Up @@ -300,9 +300,9 @@ inline std::string KvToString(const opentelemetry::common::KeyValueIterable &kv)
return ss.str();
}

#if defined(_MSC_VER)
# pragma warning(pop)
#endif
# if defined(_MSC_VER)
# pragma warning(pop)
# endif

} // namespace metrics
} // namespace sdk
Expand Down
14 changes: 7 additions & 7 deletions sdk/include/opentelemetry/sdk/metrics/sync_instruments.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ namespace sdk
namespace metrics
{

#if defined(_MSC_VER)
# pragma warning(push)
# pragma warning(disable : 4250) // inheriting methods via dominance
#endif
# if defined(_MSC_VER)
# pragma warning(push)
# pragma warning(disable : 4250) // inheriting methods via dominance
# endif

template <class T>
class BoundCounter final : public BoundSynchronousInstrument<T>, public metrics_api::BoundCounter<T>
Expand Down Expand Up @@ -437,9 +437,9 @@ class ValueRecorder final : public SynchronousInstrument<T>, public metrics_api:
boundInstruments_;
};

#if defined(_MSC_VER)
# pragma warning(pop)
#endif
# if defined(_MSC_VER)
# pragma warning(pop)
# endif

} // namespace metrics
} // namespace sdk
Expand Down

0 comments on commit 0d7ab3e

Please sign in to comment.