Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- 0:08.36 nsEffectiveTLDService::mGraph = Dafsa::Dafsa(kDafsaRemote);
- 0:08.36 ^
- 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'
- 0:08.36 nsEffectiveTLDService::mGraph = Dafsa::Dafsa(kDafsaRemote);
- 0:08.36 ^~~~~~~~~~~~~~~~~~~~~~~~~
- 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
- 0:08.36 class Dafsa {
- 0:08.36 ^
- 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
- 0:08.36 explicit Dafsa(const Graph& aData) : mData(aData) {}
- 0:08.36 ^
- 0:08.44 2 errors generated.
Add Comment
Please, Sign In to add comment