aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval-cache.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/eval-cache.hh')
-rw-r--r--src/libexpr/eval-cache.hh8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/libexpr/eval-cache.hh b/src/libexpr/eval-cache.hh
index b0709ebc2..f4481c72a 100644
--- a/src/libexpr/eval-cache.hh
+++ b/src/libexpr/eval-cache.hh
@@ -96,13 +96,9 @@ public:
Suggestions getSuggestionsForAttr(Symbol name);
- std::shared_ptr<AttrCursor> maybeGetAttr(Symbol name, bool forceErrors = false);
+ std::shared_ptr<AttrCursor> maybeGetAttr(std::string_view name, bool forceErrors = false);
- std::shared_ptr<AttrCursor> maybeGetAttr(std::string_view name);
-
- ref<AttrCursor> getAttr(Symbol name, bool forceErrors = false);
-
- ref<AttrCursor> getAttr(std::string_view name);
+ ref<AttrCursor> getAttr(std::string_view name, bool forceErrors = false);
/* Get an attribute along a chain of attrsets. Note that this does
not auto-call functors or functions. */