Skip to content

Commit

Permalink
face+name: remove deprecated functions
Browse files Browse the repository at this point in the history
Change-Id: Iec93ad3a77e705020f1069597f09d18f257cdf20
  • Loading branch information
Pesa committed Jan 7, 2025
1 parent f5bf743 commit e595c76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
12 changes: 1 addition & 11 deletions ndn-cxx/face.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2013-2023 Regents of the University of California.
* Copyright (c) 2013-2025 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
Expand Down Expand Up @@ -424,16 +424,6 @@ class Face : noncopyable
return m_ioCtx;
}

/**
* @deprecated Use getIoContext()
*/
[[deprecated("use getIoContext")]]
boost::asio::io_context&
getIoService() const noexcept
{
return m_ioCtx;
}

NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PROTECTED:
/**
* @brief Returns the underlying transport.
Expand Down
9 changes: 1 addition & 8 deletions ndn-cxx/name-component.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2013-2024 Regents of the University of California.
* Copyright (c) 2013-2025 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
Expand Down Expand Up @@ -230,13 +230,6 @@ class Component : public Block, private boost::less_than_comparable<Component>
static Component
fromUri(std::string_view input);

[[deprecated("use fromUri")]]
static Component
fromEscapedString(std::string_view input)
{
return Component::fromUri(input);
}

/**
* @brief Write `*this` to the output stream, escaping characters according to the NDN URI format.
* @sa https://docs.named-data.net/NDN-packet-spec/0.3/name.html#ndn-uri-scheme
Expand Down

0 comments on commit e595c76

Please sign in to comment.