Skip to content

Commit

Permalink
Fix warnings "catching polymorphic type by value" during build
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-liberman committed Sep 6, 2019
1 parent d075870 commit 039dbde
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 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="3.8.0"
version="3.8.1"
name="PVR IPTV Simple Client"
provider-name="nightik">
<requires>@ADDON_DEPENDS@</requires>
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 @@
v3.8.1
- Fix compiler warnings

v3.8.0
- Support multiple display-names and case insensitive tvg-id is always first, next tvg-name and then channel name find order
- Support full timeshift range of -12 to +14 hours
Expand Down
4 changes: 2 additions & 2 deletions src/PVRIptvData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ bool PVRIptvData::LoadEPG(time_t iStart, time_t iEnd)
{
xmlDoc.parse<0>(buffer);
}
catch(parse_error p)
catch(parse_error& p)
{
XBMC->Log(LOG_ERROR, "Unable parse EPG XML: %s", p.what());
return false;
Expand Down Expand Up @@ -847,7 +847,7 @@ bool PVRIptvData::LoadGenres(void)
{
xmlDoc.parse<0>(buffer);
}
catch (parse_error p)
catch (parse_error& p)
{
return false;
}
Expand Down

0 comments on commit 039dbde

Please sign in to comment.