1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00

Shell: Rename two 'fd' class members to have an 'm_' prefix

This commit is contained in:
AnotherTest 2020-09-16 05:10:15 +04:30 committed by Andreas Kling
parent 51e598cf0b
commit d64e00a5f6
2 changed files with 6 additions and 6 deletions

View file

@ -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)
{
}