mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
Shell: Rename two 'fd' class members to have an 'm_' prefix
This commit is contained in:
parent
51e598cf0b
commit
d64e00a5f6
Notes:
sideshowbarker
2024-07-19 02:12:14 +09:00
Author: https://github.com/alimpfard
Commit: d64e00a5f6
Pull-request: https://github.com/SerenityOS/serenity/pull/3505
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/devsh0
2 changed files with 6 additions and 6 deletions
|
@ -739,13 +739,13 @@ DynamicEvaluate::~DynamicEvaluate()
|
|||
void Fd2FdRedirection::dump(int level) const
|
||||
{
|
||||
Node::dump(level);
|
||||
print_indented(String::format("%d -> %d", source_fd, dest_fd), level);
|
||||
print_indented(String::format("%d -> %d", m_source_fd, m_dest_fd), level);
|
||||
}
|
||||
|
||||
RefPtr<Value> Fd2FdRedirection::run(RefPtr<Shell>)
|
||||
{
|
||||
Command command;
|
||||
command.redirections.append(FdRedirection::create(source_fd, dest_fd, Rewiring::Close::None));
|
||||
command.redirections.append(FdRedirection::create(m_source_fd, m_dest_fd, Rewiring::Close::None));
|
||||
return create<CommandValue>(move(command));
|
||||
}
|
||||
|
||||
|
@ -756,8 +756,8 @@ void Fd2FdRedirection::highlight_in_editor(Line::Editor& editor, Shell&, Highlig
|
|||
|
||||
Fd2FdRedirection::Fd2FdRedirection(Position position, int src, int dst)
|
||||
: Node(move(position))
|
||||
, source_fd(src)
|
||||
, dest_fd(dst)
|
||||
, m_source_fd(src)
|
||||
, m_dest_fd(dst)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -633,8 +633,8 @@ private:
|
|||
virtual String class_name() const override { return "Fd2FdRedirection"; }
|
||||
virtual bool is_command() const override { return true; }
|
||||
|
||||
int source_fd { -1 };
|
||||
int dest_fd { -1 };
|
||||
int m_source_fd { -1 };
|
||||
int m_dest_fd { -1 };
|
||||
};
|
||||
|
||||
class FunctionDeclaration final : public Node {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue