[SCM] kodi-pvr-vdr-vnsi/master: requestpacket: use "constexpr" instead of "const" for constants

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Sun Feb 28 15:46:48 UTC 2016


The following commit has been merged in the master branch:
commit 49ba892435c92e116b0514ae733270946f6263a2
Author: Max Kellermann <max at duempel.org>
Date:   Thu Nov 5 11:20:14 2015 +0100

    requestpacket: use "constexpr" instead of "const" for constants

diff --git a/src/requestpacket.h b/src/requestpacket.h
index 896bdf4..7dbb229 100644
--- a/src/requestpacket.h
+++ b/src/requestpacket.h
@@ -59,6 +59,6 @@ class cRequestPacket
 
     bool checkExtend(size_t by);
 
-    const static size_t headerLength = 16;
-    const static size_t userDataLenPos = 12;
+    constexpr static size_t headerLength = 16;
+    constexpr static size_t userDataLenPos = 12;
 };

-- 
kodi-pvr-vdr-vnsi packaging



More information about the pkg-multimedia-commits mailing list