'Generate Getter and Setter' cannot handle '/**/' correctly
Opened this issue · 0 comments
ahgoogee commented
Before:
class A
{
private:
int m_data;
};
int main(int /*argc*/, char const* /*argv*/[])
{
return 0;
}
After:
class A
{
private:
int m_data;
};
int main(int /*argc*/
public:
int data() const { return m_data; }
void setData(int data) { m_data = data; }, char const* /*argv*/[])
{
return 0;
}
When I removed /*argc*/
and /*argv*/
class A
{
private:
int m_data;
public:
int data() const { return m_data; }
void setData(int data) { m_data = data; }
};
int main(int , char const* [])
{
return 0;
}