[SCM] kodi-pvr-vdr-vnsi/master: Revert "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:50 UTC 2016


The following commit has been merged in the master branch:
commit 28e15bee2c1e81f6fd52c2338e5cd325a1462100
Author: Rainer Hochecker <fernetmenta at online.de>
Date:   Wed Nov 11 07:55:28 2015 +0100

    Revert "requestpacket: use "constexpr" instead of "const" for constants"
    
    This reverts commit 49ba892435c92e116b0514ae733270946f6263a2.
    Not supported by VS 2013

diff --git a/src/requestpacket.h b/src/requestpacket.h
index 0ecc8c2..219f899 100644
--- a/src/requestpacket.h
+++ b/src/requestpacket.h
@@ -59,6 +59,6 @@ class cRequestPacket
 
     void checkExtend(size_t by);
 
-    constexpr static size_t headerLength = 16;
-    constexpr static size_t userDataLenPos = 12;
+    const static size_t headerLength = 16;
+    const static size_t userDataLenPos = 12;
 };

-- 
kodi-pvr-vdr-vnsi packaging



More information about the pkg-multimedia-commits mailing list