Changeset View
Changeset View
Standalone View
Standalone View
src/lib/definitionref_p.h
Context not available. | |||||
50 | 50 | | |||
---|---|---|---|---|---|
51 | Definition definition() const; | 51 | Definition definition() const; | ||
52 | 52 | | |||
53 | /** | ||||
54 | * Checks two definition references for equality. | ||||
55 | */ | ||||
56 | bool operator==(const DefinitionRef &other) const; | ||||
57 | | ||||
58 | /** | ||||
59 | * Checks two definition references for inequality. | ||||
60 | */ | ||||
61 | bool operator!=(const DefinitionRef &other) const | ||||
62 | { | ||||
63 | return !(*this == other); | ||||
64 | } | ||||
65 | | ||||
53 | private: | 66 | private: | ||
54 | friend class DefinitionData; | 67 | friend class DefinitionData; | ||
55 | std::weak_ptr<DefinitionData> d; | 68 | std::weak_ptr<DefinitionData> d; | ||
Context not available. |