Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=171bd53e8cf701150639804916d381367c7e0098

commit 171bd53e8cf701150639804916d381367c7e0098
Author: Priyank <priy...@frugalware.org>
Date:   Mon Jun 8 15:18:59 2009 +0530

Fixed definition of static methods versionCompare() and getOwners() in Package

diff --git a/pm.cc b/pm.cc
index 8249509..a989b5e 100644
--- a/pm.cc
+++ b/pm.cc
@@ -366,12 +366,12 @@ void Package::free()
setStatus();
}

-static int versionCompare(const std::string v1,const std::string v2)
+int Package::versionCompare(const std::string v1,const std::string v2)
{
return pacman_pkg_vercmp(v1.c_str(),v2.c_str());
}

-static bool getOwners(PackageList& plist,const string filename)
+bool Package::getOwners(PackageList& plist,const std::string filename)
{
bool    ret = false;
PM_LIST *list = NULL;
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to