You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2018/09/12 22:02:58 UTC
[trafficserver] branch master updated: Corrects path to test file
in docs
This is an automated email from the ASF dual-hosted git repository.
amc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new b53b66d Corrects path to test file in docs
b53b66d is described below
commit b53b66db070f4fabcd4795974d723d2f554605fa
Author: Derek Dagit <de...@oath.com>
AuthorDate: Wed Sep 12 09:24:59 2018 -0500
Corrects path to test file in docs
---
doc/developer-guide/internal-libraries/intrusive-list.en.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/developer-guide/internal-libraries/intrusive-list.en.rst b/doc/developer-guide/internal-libraries/intrusive-list.en.rst
index 251df9a..d5f79f3 100644
--- a/doc/developer-guide/internal-libraries/intrusive-list.en.rst
+++ b/doc/developer-guide/internal-libraries/intrusive-list.en.rst
@@ -190,13 +190,13 @@ In some cases the elements of the list are subclasses and the links are declared
and are therefore of the super class type. For instance, in the unit test a class :code:`Thing` is
defined for testing.
-.. literalinclude:: ../../../lib/ts/unit-tests/test_IntrusiveDList.cc
+.. literalinclude:: ../../../src/tscore/unit_tests/test_IntrusiveDList.cc
:lines: 159
Later on, to validate use on a subclass, :code:`PrivateThing` is defined as a subclass of
:code:`Thing`.
-.. literalinclude:: ../../../lib/ts/unit-tests/test_IntrusiveDList.cc
+.. literalinclude:: ../../../src/tscore/unit_tests/test_IntrusiveDList.cc
:lines: 181
However, the link members :code:`_next` and :code:`_prev` are of type :code:`Thing*` but the
@@ -205,7 +205,7 @@ descriptor for a list of :code:`PrivateThing` must have link accessors that retu
:code:`ts::ptr_ref_cast<X, T>` that converts a member of type :code:`T*` to a reference to a pointer
to :code:`X`, e.g. :code:`X*&`. This is used in the setup for testing :code:`PrivateThing`.
-.. literalinclude:: ../../../lib/ts/unit-tests/test_IntrusiveDList.cc
+.. literalinclude:: ../../../src/tscore/unit_tests/test_IntrusiveDList.cc
:lines: 190-199
While this can be done directly with :code:`reinterpret_cast<>`, use of :code:`ts::ptr_cast` avoids