Imported Upstream version 14.45.0
[platform/upstream/libzypp.git] / zypp / base / ProvideNumericId.h
index b6142fb..2990e2d 100644 (file)
@@ -41,12 +41,12 @@ namespace zypp
      * foo.numericId(); // returns foo's NumericId.
      * \endcode
     */
-    template<class TDerived, class TNumericIdType>
+    template<class _Derived, class _NumericIdType>
       struct ProvideNumericId
       {
       public:
         /** \return The objects numeric Id. */
-        TNumericIdType numericId() const
+        _NumericIdType numericId() const
         { return _numericId; }
 
       protected:
@@ -73,14 +73,14 @@ namespace zypp
         {}
       private:
         /** Provide the next Id to use. */
-        static TNumericIdType nextId()
+        static _NumericIdType nextId()
         {
-          static TNumericIdType _staticCounter = 0;
+          static _NumericIdType _staticCounter = 0;
           // Assert not returning 0
           return ++_staticCounter;
         }
         /**  */
-        const TNumericIdType _numericId;
+        const _NumericIdType _numericId;
       };
     ///////////////////////////////////////////////////////////////////