]> git.lyx.org Git - lyx.git/blobdiff - src/BranchList.h
* src/inset/InsetNomencl.cpp:
[lyx.git] / src / BranchList.h
index 44f10213eb309aca522fb278be3984d3efee24b6..00814ab95722e2aa3258bfd257a10d339f19f689 100644 (file)
@@ -30,7 +30,7 @@
 #ifndef BRANCHES_H
 #define BRANCHES_H
 
-#include "Color.h"
+#include "ColorCode.h"
 
 #include "support/docstring.h"
 
@@ -115,17 +115,6 @@ private:
 };
 
 
-class BranchNamesEqual : public std::unary_function<Branch, bool> {
-public:
-       BranchNamesEqual(docstring const & name)
-               : name_(name) {}
-       bool operator()(Branch const & branch) const
-       {
-               return branch.getBranch() == name_;
-       }
-private:
-       docstring name_;
-};
 
 
 } // namespace lyx