]> git.lyx.org Git - lyx.git/blobdiff - src/support/lyxsum.C
small changes and two patches from Dekel
[lyx.git] / src / support / lyxsum.C
index e018073f2bea25095d021baeb0b56195d42559f4..691ff2e71dfd45df1e1121573f30ae5325112bf0 100644 (file)
@@ -118,3 +118,9 @@ unsigned long lyx::sum(char const * file)
        string w = ostr.str().c_str();
        return do_crc(w.begin(), w.end());
 }
+
+
+unsigned long lyx::sum(string const & file) 
+{
+       return lyx::sum(file.c_str());
+}