diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-30 00:23:51 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-30 00:23:51 +0200 |
commit | 8e7ce9d430b439995ceddca2c4fb9e24ed323d3a (patch) | |
tree | 15c6b856e304db5c097cf67f52f85160adce82e9 /c/datalistview.cpp | |
parent | babbd4c9c26d997683280ac663e03b04910b2826 (diff) | |
download | EpisodeBrowser-8e7ce9d430b439995ceddca2c4fb9e24ed323d3a.tar.gz |
Add non-throwing variants of Query methods.
Pl has also been refactored, so that the unnecessary throw and
catch have been removed.
Diffstat (limited to 'c/datalistview.cpp')
-rw-r--r-- | c/datalistview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/datalistview.cpp b/c/datalistview.cpp index fd37791..ea68f2d 100644 --- a/c/datalistview.cpp +++ b/c/datalistview.cpp @@ -53,7 +53,7 @@ void DataListView::ShowEpisode(const int iEpisode) LVITEM lviKey = {LVIF_TEXT}; LVITEM lviValue = {LVIF_TEXT}; - for (int i = 0; q.NextSolution(); i++) { + for (int i = 0; q.NextSolution(std::nothrow); i++) { std::wstring wsKey; std::wstring wsValue; |