aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
Diffstat (limited to 'Types.h')
-rw-r--r--Types.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Types.h b/Types.h
index 5dd742ad..b19f7540 100644
--- a/Types.h
+++ b/Types.h
@@ -527,13 +527,14 @@ private:
class OverloadedFunctionType: public Type
{
public:
- explicit OverloadedFunctionType(std::set<Declaration const*> const& _overloadedDeclarations, Identifier* _identifier):
- m_overloadedDeclarations(_overloadedDeclarations), m_identifier(_identifier) {}
+ explicit OverloadedFunctionType(Identifier* _identifier): m_identifier(_identifier) {}
+
virtual Category getCategory() const override { return Category::OverloadedFunctions; }
virtual std::string toString() const override { return "OverloadedFunctions"; }
-// private:
- std::set<Declaration const*> m_overloadedDeclarations;
+ Identifier* getIdentifier() const { return m_identifier; }
+
+private:
Identifier * m_identifier;
};