Parcourir la source

Formatting.

main
offa il y a 7 ans
Parent
révision
33d2e9c611
3 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. +2
    -0
      include/scope_exit.h
  2. +2
    -0
      include/scope_fail.h
  3. +1
    -0
      include/scope_success.h

+ 2
- 0
include/scope_exit.h Voir le fichier

@@ -26,6 +26,7 @@ namespace sr
{
namespace detail
{

struct scope_exit_strategy
{
constexpr bool should_execute() const
@@ -33,6 +34,7 @@ namespace sr
return true;
}
};

}



+ 2
- 0
include/scope_fail.h Voir le fichier

@@ -27,6 +27,7 @@ namespace sr
{
namespace detail
{

struct scope_fail_strategy
{
bool should_execute() const
@@ -42,6 +43,7 @@ namespace sr

int m_uncaught_on_creation = uncaught_exceptions();
};

}



+ 1
- 0
include/scope_success.h Voir le fichier

@@ -27,6 +27,7 @@ namespace sr
{
namespace detail
{

struct scope_success_strategy
{
bool should_execute() const

Chargement…
Annuler
Enregistrer