Change the order of the Palette constructor parameters
authorAlpar Juttner <alpar@cs.elte.hu>
Thu, 03 Apr 2008 11:26:19 +0100
changeset 129e99385bca9fe
parent 128 7cd965d2257f
child 130 88c4f7943b75
Change the order of the Palette constructor parameters
demo/graph_to_eps_demo.cc
lemon/color.h
     1.1 --- a/demo/graph_to_eps_demo.cc	Thu Apr 03 11:10:49 2008 +0100
     1.2 +++ b/demo/graph_to_eps_demo.cc	Thu Apr 03 11:26:19 2008 +0100
     1.3 @@ -42,7 +42,7 @@
     1.4  int main()
     1.5  {
     1.6    Palette palette;
     1.7 -  Palette paletteW(-1,true);
     1.8 +  Palette paletteW(true);
     1.9  
    1.10    ListDigraph g;
    1.11    typedef ListDigraph::Node Node;
     2.1 --- a/lemon/color.h	Thu Apr 03 11:10:49 2008 +0100
     2.2 +++ b/lemon/color.h	Thu Apr 03 11:26:19 2008 +0100
     2.3 @@ -119,7 +119,7 @@
     2.4      ///\param have_white indicates whether white is amongst the
     2.5      ///provided color (\c true) or not (\c false). If it is true,
     2.6      ///white will be assigned to \c 0.
     2.7 -    Palette(int num=-1,bool have_white=false)
     2.8 +    Palette(bool have_white=false,int num=-1)
     2.9      {
    2.10        if (num==0) return;
    2.11        do {