Use /* ... */ for multi-line comments

This commit is contained in:
Christian Gruber 2020-08-24 23:31:08 +02:00
parent df6621f2b5
commit 41c147a918

View File

@ -20,9 +20,9 @@ GType gnc_mock_account_get_type(void);
class MockAccount : public Account class MockAccount : public Account
{ {
public: public:
// note: don't use default constructor instead of empty constructor, since /* note: don't use default constructor instead of empty constructor, since
// it does zero initialization, which would overwrite GObject * it does zero initialization, which would overwrite GObject
// initialization, which is already done in the new operator. * initialization, which is already done in the new operator. */
MockAccount() {} MockAccount() {}
void* operator new(size_t size) void* operator new(size_t size)
{ {
@ -46,8 +46,8 @@ public:
MOCK_METHOD0(create_imap, GncImportMatchMap*()); MOCK_METHOD0(create_imap, GncImportMatchMap*());
protected: protected:
// Protect destructor to avoid MockAccount objects to be created on stack. MockAccount /* Protect destructor to avoid MockAccount objects to be created on stack. MockAccount
// objects can only be dynamically created, since they are derived from GObject. * objects can only be dynamically created, since they are derived from GObject. */
~MockAccount() {} ~MockAccount() {}
}; };