Happy New Year 🥳

This commit is contained in:
BlackMATov
2021-01-12 02:12:17 +07:00
parent 80bf45983d
commit 08f5e9ad9f
8 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
MIT License MIT License
Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com) Copyright (C) 2018-2021, by Matvey Cherevko (blackmatov@gmail.com)
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@@ -1,7 +1,7 @@
/******************************************************************************* /*******************************************************************************
* This file is part of the "https://github.com/blackmatov/promise.hpp" * This file is part of the "https://github.com/blackmatov/promise.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md * For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com) * Copyright (C) 2018-2021, by Matvey Cherevko (blackmatov@gmail.com)
******************************************************************************/ ******************************************************************************/
#pragma once #pragma once

View File

@@ -1,7 +1,7 @@
/******************************************************************************* /*******************************************************************************
* This file is part of the "https://github.com/blackmatov/promise.hpp" * This file is part of the "https://github.com/blackmatov/promise.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md * For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com) * Copyright (C) 2018-2021, by Matvey Cherevko (blackmatov@gmail.com)
******************************************************************************/ ******************************************************************************/
#pragma once #pragma once
@@ -123,7 +123,7 @@ namespace promise_hpp
std::size_t size() const noexcept { std::size_t size() const noexcept {
return (*state_).size(); return (*state_).size();
} }
std::exception_ptr at(std::size_t index) const { std::exception_ptr at(std::size_t index) const {
return (*state_).at(index); return (*state_).at(index);
} }
@@ -886,7 +886,7 @@ namespace promise_hpp
std::forward<ResolveF>(on_resolve), std::forward<ResolveF>(on_resolve),
std::forward<RejectF>(on_reject), std::forward<RejectF>(on_reject),
true); true);
return next; return next;
} }

View File

@@ -1,7 +1,7 @@
/******************************************************************************* /*******************************************************************************
* This file is part of the "https://github.com/blackmatov/promise.hpp" * This file is part of the "https://github.com/blackmatov/promise.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md * For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com) * Copyright (C) 2018-2021, by Matvey Cherevko (blackmatov@gmail.com)
******************************************************************************/ ******************************************************************************/
#pragma once #pragma once

View File

@@ -1,7 +1,7 @@
/******************************************************************************* /*******************************************************************************
* This file is part of the "https://github.com/blackmatov/promise.hpp" * This file is part of the "https://github.com/blackmatov/promise.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md * For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com) * Copyright (C) 2018-2021, by Matvey Cherevko (blackmatov@gmail.com)
******************************************************************************/ ******************************************************************************/
#define CATCH_CONFIG_MAIN #define CATCH_CONFIG_MAIN

View File

@@ -1,7 +1,7 @@
/******************************************************************************* /*******************************************************************************
* This file is part of the "https://github.com/blackmatov/promise.hpp" * This file is part of the "https://github.com/blackmatov/promise.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md * For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com) * Copyright (C) 2018-2021, by Matvey Cherevko (blackmatov@gmail.com)
******************************************************************************/ ******************************************************************************/
#define CATCH_CONFIG_FAST_COMPILE #define CATCH_CONFIG_FAST_COMPILE

View File

@@ -1,7 +1,7 @@
/******************************************************************************* /*******************************************************************************
* This file is part of the "https://github.com/blackmatov/promise.hpp" * This file is part of the "https://github.com/blackmatov/promise.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md * For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com) * Copyright (C) 2018-2021, by Matvey Cherevko (blackmatov@gmail.com)
******************************************************************************/ ******************************************************************************/
#define CATCH_CONFIG_FAST_COMPILE #define CATCH_CONFIG_FAST_COMPILE

View File

@@ -1,7 +1,7 @@
/******************************************************************************* /*******************************************************************************
* This file is part of the "https://github.com/blackmatov/promise.hpp" * This file is part of the "https://github.com/blackmatov/promise.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md * For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com) * Copyright (C) 2018-2021, by Matvey Cherevko (blackmatov@gmail.com)
******************************************************************************/ ******************************************************************************/
#define CATCH_CONFIG_FAST_COMPILE #define CATCH_CONFIG_FAST_COMPILE