Skip to content

Commit

Permalink
Upgrade to C++20
Browse files Browse the repository at this point in the history
  • Loading branch information
guanlisheng committed Dec 25, 2024
1 parent 33aa890 commit d8e2d15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/filterdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ void wxFilterDialog::OnOkClick(wxCommandEvent& event)
m_Statement = m_filter->GetText();
if (!m_Statement.IsEmpty())
{
wxString base = m_Base.IsEmpty() ? "main" : m_Base;
wxString base = m_Base.IsEmpty() ? wxString("main") : m_Base;
wxString sql = "EXPLAIN SELECT *\r";
sql += "FROM " + base + "." + m_Table + "\r";
sql += "WHERE " + m_Statement + ";";
Expand Down
2 changes: 1 addition & 1 deletion src/sqliteplusframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2143,7 +2143,7 @@ void wxSQLitePlusFrame::CreateTrigger(const wxString& dbname, bool useobj,
if (book)
{
book->ExecQuery(createTriggerDlg.GetCreateTriggerDDL());
RefreshTriggers(createTriggerDlg.GetTemporary() ? ("main") : dbname);
RefreshTriggers(createTriggerDlg.GetTemporary() ? _("main") : dbname);
m_TreeCtrl->Refresh();
m_TreeCtrl->Update();
}
Expand Down

0 comments on commit d8e2d15

Please sign in to comment.