Skip to content

Commit

Permalink
Reformat source code
Browse files Browse the repository at this point in the history
  • Loading branch information
kazssym committed Dec 27, 2020
1 parent ecd29cc commit 713757f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions libvm68kapi/bits/vm68k/memory_exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ namespace vm68k
memory_map::address_type _address;

public:
memory_exception(function_code fc,
memory_map::address_type address) noexcept;
memory_exception(function_code fc, memory_map::address_type address)
noexcept;

memory_exception(const memory_exception &other) noexcept;

Expand Down Expand Up @@ -69,8 +69,8 @@ namespace vm68k
class _VM68KAPI_PUBLIC bus_error: public memory_exception
{
public:
bus_error(function_code fc,
memory_map::address_type address) noexcept;
bus_error(function_code fc, memory_map::address_type address)
noexcept;

public:
virtual const char *what() const noexcept override;
Expand All @@ -82,8 +82,8 @@ namespace vm68k
class _VM68KAPI_PUBLIC address_error: public memory_exception
{
public:
address_error(function_code fc,
memory_map::address_type address) noexcept;
address_error(function_code fc, memory_map::address_type address)
noexcept;

public:
virtual const char *what() const noexcept override;
Expand Down
3 changes: 2 additions & 1 deletion libvm68kapi/memory_exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ memory_exception::~memory_exception()
// Nothing to do.
}

memory_exception &memory_exception::operator =(const memory_exception &other) noexcept
memory_exception &memory_exception::operator =(const memory_exception &other)
noexcept
{
if (this != &other) {
exception::operator =(other);
Expand Down

0 comments on commit 713757f

Please sign in to comment.