refactor(cxx): formatted according to IDF astyle rules

This commit is contained in:
Jakob Hasse
2024-03-05 14:07:05 +08:00
parent 5f85aefe0d
commit 0c01c5965e
10 changed files with 90 additions and 103 deletions

View File

@@ -14,11 +14,10 @@ using std::endl;
using std::runtime_error;
/* A simple class which may throw an exception from constructor */
class Throwing
{
class Throwing {
public:
Throwing(int arg)
: m_arg(arg)
: m_arg(arg)
{
cout << "In constructor, arg=" << arg << endl;
if (arg == 0) {