From 749421641513cc71bfc9bb899c5b683d6ce060c9 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Fri, 8 Feb 2019 08:43:06 -0800 Subject: [PATCH] [instance] update the documentation for `Get` definition (#3569) --- src/core/common/instance.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/core/common/instance.hpp b/src/core/common/instance.hpp index 342951805..4304ebc0e 100644 --- a/src/core/common/instance.hpp +++ b/src/core/common/instance.hpp @@ -401,9 +401,10 @@ public: * Note that any `Type` for which the `Get` is defined MUST be uniquely accessible from the OpenThread * `Instance` through the member variable property hierarchy. * - * Specializations of the `Get()` method are defined in the `instance.cpp`. The specializations are defined - * for any class (type) which can use `GetOwner` method, i.e., any class that is an owner of a callback - * providing object such as a `Timer`,`Tasklet`, or any sub-class of `OwnerLocator`. + * Specializations of the `Get()` method are defined in this file after the `Instance` class definition. + * The specializations should be defined for any `Type` that can use `GetOwner` method, i.e., any + * `Type` that is an owner of a callback providing object such as a `Timer`,`Tasklet`, or any sub-class of + *`OwnerLocator`. * * @returns A reference to the `Type` object of the instance. *