gravatar
alpar (Alpar Juttner)
alpar@cs.elte.hu
Change the order of the Palette constructor parameters
0 2 0
default
2 files changed with 2 insertions and 2 deletions:
↑ Collapse diff ↑
Show white space 6 line context
... ...
@@ -42,7 +42,7 @@
42 42
int main()
43 43
{
44 44
  Palette palette;
45
  Palette paletteW(-1,true);
45
  Palette paletteW(true);
46 46

	
47 47
  ListDigraph g;
48 48
  typedef ListDigraph::Node Node;
Show white space 6 line context
... ...
@@ -119,7 +119,7 @@
119 119
    ///\param have_white indicates whether white is amongst the
120 120
    ///provided color (\c true) or not (\c false). If it is true,
121 121
    ///white will be assigned to \c 0.
122
    Palette(int num=-1,bool have_white=false)
122
    Palette(bool have_white=false,int num=-1)
123 123
    {
124 124
      if (num==0) return;
125 125
      do {
0 comments (0 inline)