mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 01:22:43 +02:00
Shell: Rename two 'fd' class members to have an 'm_' prefix
This commit is contained in:
committed by
Andreas Kling
parent
51e598cf0b
commit
d64e00a5f6
Notes:
sideshowbarker
2024-07-19 02:12:14 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/d64e00a5f65 Pull-request: https://github.com/SerenityOS/serenity/pull/3505 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/devsh0
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user