ArpitB

mGraph error

Aug 7th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  1:45.89 /home/arpit/Development/moz/mozilla-central/netwerk/dns/nsEffectiveTLDService.cpp:104:18: error: no matching conversion for functional-style cast from 'unsigned char [size]' to 'mozilla::Dafsa'
  2.  1:45.90         mGraph = mozilla::Dafsa(kDafsaRemote);
  3.  1:45.90                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  4.  1:45.90 /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
  5.  1:45.90 class Dafsa {
  6.  1:45.90       ^
  7.  1:45.90 /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
  8.  1:45.90   explicit Dafsa(const Graph& aData) : mData(aData) {}
Add Comment
Please, Sign In to add comment