Skip to content

Commit

Permalink
[cleanup] Remove unused
Browse files Browse the repository at this point in the history
- clConsoleEnvironment::clConsoleEnvironment()
- clConsoleEnvironment::Add
  • Loading branch information
Jarod42 committed Dec 4, 2024
1 parent e695a1c commit b8b5c2e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions CodeLite/Console/clConsoleBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,16 +159,8 @@ wxString clConsoleBase::GetSelectedTerminalName()
return terminalName;
}

clConsoleEnvironment::clConsoleEnvironment() {}

clConsoleEnvironment::~clConsoleEnvironment() { UnApply(); }

void clConsoleEnvironment::Add(const wxString& name, const wxString& value)
{
m_environment.erase(name);
m_environment.insert({ name, value });
}

void clConsoleEnvironment::Apply()
{
if(!m_oldEnvironment.empty()) {
Expand Down
2 changes: 0 additions & 2 deletions CodeLite/Console/clConsoleBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ class WXDLLIMPEXP_CL clConsoleEnvironment

public:
clConsoleEnvironment(const wxStringMap_t& env);
clConsoleEnvironment();
~clConsoleEnvironment();

void Add(const wxString& name, const wxString& value);
void Apply();
void UnApply();
};
Expand Down

0 comments on commit b8b5c2e

Please sign in to comment.