ArpitB

mGraph

Aug 8th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  0:08.36 /home/arpit/Development/moz/mozilla-central/netwerk/dns/nsEffectiveTLDService.cpp:104:48: error: qualified reference to 'Dafsa' is a constructor name rather than a type in this context
  2.  0:08.36         nsEffectiveTLDService::mGraph = Dafsa::Dafsa(kDafsaRemote);
  3.  0:08.36                                                ^
  4.  0:08.36 /home/arpit/Development/moz/mozilla-central/netwerk/dns/nsEffectiveTLDService.cpp:104:41: error: no matching conversion for functional-style cast from 'unsigned char [size]' to 'Dafsa::Dafsa'
  5.  0:08.36         nsEffectiveTLDService::mGraph = Dafsa::Dafsa(kDafsaRemote);
  6.  0:08.36                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
  7.  0:08.36 /home/arpit/Development/moz/mozilla-central/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Dafsa.h:27:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'unsigned char [size]' to 'const mozilla::Dafsa' for 1st argument
  8.  0:08.36 class Dafsa {
  9.  0:08.36       ^
  10.  0:08.36 /home/arpit/Development/moz/mozilla-central/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Dafsa.h:34:12: note: candidate constructor not viable: no known conversion from 'unsigned char [size]' to 'const mozilla::Dafsa::Graph' (aka 'const Span<const unsigned char>') for 1st argument
  11.  0:08.36   explicit Dafsa(const Graph& aData) : mData(aData) {}
  12.  0:08.36            ^
  13.  0:08.44 2 errors generated.
Add Comment
Please, Sign In to add comment