follow method attribute suggestions by gcc
[ntk/apt.git] / apt-pkg / contrib / hashes.cc
index 5efafa5..1fce0d7 100644 (file)
@@ -116,7 +116,7 @@ const char** HashString::SupportedHashes()
    return _SupportedHashes;
 }
 
-bool HashString::empty() const
+APT_PURE bool HashString::empty() const
 {
    return (Type.empty() || Hash.empty());
 }