mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Use /* ... */ for multi-line comments
This commit is contained in:
parent
df6621f2b5
commit
41c147a918
@ -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() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user