Skip to content

Commit

Permalink
Merge pull request #277 from arthur-liberman/Leia-warn-fix
Browse files Browse the repository at this point in the history
Fix warnings "catching polymorphic type by value" during build
  • Loading branch information
phunkyfish authored Sep 6, 2019
2 parents 938f202 + 93ab83e commit 72e0b41
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion pvr.iptvsimple/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.iptvsimple"
version="4.5.0"
version="4.5.1"
name="PVR IPTV Simple Client"
provider-name="nightik">
<requires>@ADDON_DEPENDS@</requires>
Expand Down Expand Up @@ -159,6 +159,9 @@
<disclaimer lang="zh_TW">這是測試中的軟體!原創作者無法針對以下情況負責:包括播放失敗,不正確的電子節目表,多餘的時數,或任何不可預期的不良影響。</disclaimer>
<platform>@PLATFORM@</platform>
<news>
v4.5.1
- Fix compiler warnings

v4.5.0
- Fixed: Support full timeshift range of -12 to +14 hours
- Fixed: Some providers incorrectly use tvg-ID instead of tvg-id
Expand Down
3 changes: 3 additions & 0 deletions pvr.iptvsimple/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v4.5.1
- Fix compiler warnings

v4.5.0
- Fixed: Support full timeshift range of -12 to +14 hours
- Fixed: Some providers incorrectly use tvg-ID instead of tvg-id
Expand Down
4 changes: 2 additions & 2 deletions src/iptvsimple/Epg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ bool Epg::LoadEPG(time_t start, time_t end)
{
xmlDoc.parse<0>(buffer);
}
catch (parse_error p)
catch (parse_error& p)
{
Logger::Log(LEVEL_ERROR, "%s - Unable parse EPG XML: %s", __FUNCTION__, p.what());
return false;
Expand Down Expand Up @@ -430,7 +430,7 @@ bool Epg::LoadGenres()
{
xmlDoc.parse<0>(buffer);
}
catch (parse_error p)
catch (parse_error& p)
{
return false;
}
Expand Down

0 comments on commit 72e0b41

Please sign in to comment.