Skip to content

Commit

Permalink
mgmt+util: remove several deprecated aliases
Browse files Browse the repository at this point in the history
Change-Id: I413678e0b586523b6c410c1a23c1ef4a7bf31b18
  • Loading branch information
Pesa committed Dec 4, 2023
1 parent 19b5528 commit 39af9f8
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 43 deletions.
2 changes: 0 additions & 2 deletions ndn-cxx/mgmt/nfd/status-dataset.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ class StatusDatasetBase
PartialName m_datasetName;
};

using StatusDataset [[deprecated("use StatusDatasetBase")]] = StatusDatasetBase;

/**
* \ingroup management
* \brief Represents a `status/general` dataset.
Expand Down
5 changes: 0 additions & 5 deletions ndn-cxx/util/dummy-client-face.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,6 @@ class DummyClientFace : public Face
std::function<void(time::milliseconds)> m_processEventsOverride;
};

namespace util {
/// \deprecated Use ndn::DummyClientFace
using DummyClientFace [[deprecated("use ndn::DummyClientFace")]] = ::ndn::DummyClientFace;
} // namespace util

} // namespace ndn

#endif // NDN_CXX_UTIL_DUMMY_CLIENT_FACE_HPP
5 changes: 0 additions & 5 deletions ndn-cxx/util/segment-fetcher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,11 +319,6 @@ class SegmentFetcher : noncopyable
std::set<uint64_t> m_receivedSegments;
};

namespace util {
/// \deprecated Use ndn::SegmentFetcher
using SegmentFetcher [[deprecated("use ndn::SegmentFetcher")]] = ::ndn::SegmentFetcher;
} // namespace util

} // namespace ndn

#endif // NDN_CXX_UTIL_SEGMENT_FETCHER_HPP
5 changes: 0 additions & 5 deletions ndn-cxx/util/segmenter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ class Segmenter
security::SigningInfo m_signingInfo;
};

namespace util {
/// \deprecated Use ndn::Segmenter
using Segmenter [[deprecated("use ndn::Segmenter")]] = ::ndn::Segmenter;
} // namespace util

} // namespace ndn

#endif // NDN_CXX_UTIL_SEGMENTER_HPP
5 changes: 0 additions & 5 deletions ndn-cxx/util/signal/connection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,4 @@ class Connection : private boost::equality_comparable<Connection>

} // namespace ndn::signal

namespace ndn::util::signal {
/// \deprecated Use ndn::signal::Connection
using Connection [[deprecated("use ndn::signal::Connection")]] = ::ndn::signal::Connection;
} // namespace ndn::util::signal

#endif // NDN_CXX_UTIL_SIGNAL_CONNECTION_HPP
5 changes: 0 additions & 5 deletions ndn-cxx/util/signal/scoped-connection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,4 @@ ScopedConnection::operator=(ScopedConnection&&) noexcept = default;

} // namespace ndn::signal

namespace ndn::util::signal {
/// \deprecated Use ndn::signal::ScopedConnection
using ScopedConnection [[deprecated("use ndn::signal::ScopedConnection")]] = ::ndn::signal::ScopedConnection;
} // namespace ndn::util::signal

#endif // NDN_CXX_UTIL_SIGNAL_SCOPED_CONNECTION_HPP
6 changes: 0 additions & 6 deletions ndn-cxx/util/signal/signal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,4 @@ Signal<Owner, TArgs...>::operator()(const TArgs&... args, const DummyExtraArg&)

} // namespace ndn::signal

namespace ndn::util {
/// \deprecated Use ndn::signal::Signal
template<typename Owner, typename... TArgs>
using Signal [[deprecated("use ndn::signal::Signal")]] = ::ndn::signal::Signal<Owner, TArgs...>;
} // namespace ndn::util

#endif // NDN_CXX_UTIL_SIGNAL_SIGNAL_HPP
10 changes: 0 additions & 10 deletions ndn-cxx/util/time.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,6 @@ class system_clock
using time_point = ::boost::chrono::time_point<system_clock>;
static constexpr bool is_steady = ::boost::chrono::system_clock::is_steady;

/// \deprecated Use time_point
using TimePoint [[deprecated("use system_clock::time_point")]] = time_point;
/// \deprecated Use duration
using Duration [[deprecated("use system_clock::duration")]] = duration;

static time_point
now() noexcept;

Expand Down Expand Up @@ -235,11 +230,6 @@ class steady_clock
using time_point = ::boost::chrono::time_point<steady_clock>;
static constexpr bool is_steady = true;

/// \deprecated Use time_point
using TimePoint [[deprecated("use steady_clock::time_point")]] = time_point;
/// \deprecated Use duration
using Duration [[deprecated("use steady_clock::duration")]] = duration;

static time_point
now() noexcept;

Expand Down

0 comments on commit 39af9f8

Please sign in to comment.