File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,17 @@ class MRDOCS_DECL
6262
6363 /* * Returns the Corpus associated with the Dom.
6464 */
65- Corpus const & operator *() const ;
65+ Corpus const & operator *() const
66+ {
67+ return getCorpus ();
68+ }
6669
6770 /* * Returns the Corpus associated with the Dom.
6871 */
69- Corpus const * operator ->() const ;
72+ Corpus const * operator ->() const
73+ {
74+ return &getCorpus ();
75+ }
7076
7177 /* * Construct a lazy Dom object representing the specified symbol.
7278
Original file line number Diff line number Diff line change @@ -707,20 +707,6 @@ getCorpus() const
707707 return impl_->getCorpus ();
708708}
709709
710- Corpus const &
711- DomCorpus::
712- operator *() const
713- {
714- return getCorpus ();
715- }
716-
717- Corpus const *
718- DomCorpus::
719- operator ->() const
720- {
721- return &getCorpus ();
722- }
723-
724710namespace dom {
725711 /* Determine if a type has a mrdocs::toString overload
726712 */
You can’t perform that action at this time.
0 commit comments