On 28-2-2018 10:35, Willem Jan Withagen wrote: > > Hi Radoslow, > > Clang is unhappy about: > src/mon/MDSMonitor.cc:79 > ``` > // my methods > > template <int dblV = 7> > void MDSMonitor::print_map(FSMap &m) > { > dout(dblV) << "print_map\n"; > m.print(*_dout); > *_dout << dendl; > } > > > /home/jenkins/workspace/ceph-master/src/mon/MDSMonitor.cc:79:22: error: > template parameter redefines default argument > template <int dblV = 7> > ^ > /home/jenkins/workspace/ceph-master/src/mon/MDSMonitor.h:76:23: note: > previous default template argument defined here > template<int dblV = 7> > ^ > 1 error generated. > ``` > > Can you suggest another way to do this? Fixed this one, by removing the assignment in the .h file. --WjW -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html