Imported Upstream version 15.19.0
[platform/upstream/libzypp.git] / zypp / media / MediaHandler.h
index 57d0922..52fd9a8 100644 (file)
@@ -82,7 +82,7 @@ class MediaHandler {
         *
         *      dir, false => user specified attach point (not removed)
         */
-       AttachPoint     _AttachPointHint;
+       AttachPoint     _attachPointHint;
 
        /**
         * The relative root directory of the data on the media.
@@ -520,7 +520,7 @@ class MediaHandler {
        /**
         * True if media is attached.
         **/
-       virtual bool isAttached() const { return _mediaSource; }
+       virtual bool isAttached() const { return _mediaSource != nullptr; }
 
        /**
         * Return the local directory that corresponds to medias url,
@@ -648,7 +648,7 @@ class MediaHandler {
         * return the deltafile set with setDeltafile()
         */
        Pathname deltafile () const;
-   
+
     public:
 
        /**