Skip to content

Commit

Permalink
[cleanup] Fix Typo:
Browse files Browse the repository at this point in the history
Serialise -> Serialize
  • Loading branch information
Jarod42 committed Nov 4, 2024
1 parent f0d0c59 commit 173f634
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CodeLite/clINIParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void clINISection::AddKeyValue(const wxString& key, const wxString& value)
m_entries.push_back(kv);
}

void clINISection::Serialise(std::ostream& string) const
void clINISection::Serialize(std::ostream& string) const
{
if (GetName().empty() && m_entries.empty())
return;
Expand Down Expand Up @@ -219,10 +219,10 @@ bool clINIParser::ParseString(const wxString& content)
return false;
}

void clINIParser::Serialise(std::ostream& string) const
void clINIParser::Serialize(std::ostream& string) const
{
for (const auto& section : m_sections) {
section.Serialise(string);
section.Serialize(string);
}
}

Expand Down
4 changes: 2 additions & 2 deletions CodeLite/clINIParser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct WXDLLIMPEXP_CL clINISection {
void SetName(const wxString& name) { this->m_name = name; }
const wxString& GetName() const { return m_name; }
void Clear() { m_name.clear(); }
void Serialise(std::ostream& string) const;
void Serialize(std::ostream& string) const;
void AddKeyValue(const wxString& key, const wxString& value);
void AddComment(const wxString& comment);
clINIKeyValue operator[](const char* key_name) const;
Expand All @@ -48,7 +48,7 @@ class WXDLLIMPEXP_CL clINIParser

bool ParseFile(const wxString& filepath);
bool ParseString(const wxString& content);
void Serialise(std::ostream& string) const;
void Serialize(std::ostream& string) const;

const clINISection& operator[](const char* section) const;
const clINISection& operator[](const wxString& section) const;
Expand Down
2 changes: 1 addition & 1 deletion WebTools/NodeDebugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ void NodeDebugger::DoCleanup()
NodeFileManager::Get().Clear();
NodeJSDevToolsProtocol::Get().Clear();

// Serialise the breakpoints
// Serialize the breakpoints
m_bptManager.Save();
m_activeFrame.Clear();
}
Expand Down

0 comments on commit 173f634

Please sign in to comment.