我建立一个类
class myclass
{
   //...
}我用了一个线程
while(true)
{
   ...
   myclass mc=getmyclass();
   testfun(mc);
}
//--另外一个过程
void testfun(myclass mc)//--这里报错
{
   ....
}
错误是:
错误 1 Inconsistent accessibility: parameter type 'myclass' is less accessible than method 'testfun(myclass)'
请问是怎么回事