Add copyright headers to source files. · jwait/cppcoro@996e4ee · GitHub
Skip to content

Commit 996e4ee

Browse files
committed
Add copyright headers to source files.
1 parent 12ba2c4 commit 996e4ee

8 files changed

Lines changed: 41 additions & 0 deletions

File tree

config.cake

Lines changed: 4 additions & 0 deletions

include/cppcoro/broken_promise.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
///////////////////////////////////////////////////////////////////////////////
2+
// Copyright (c) Lewis Baker
3+
// Licenced under MIT license. See LICENSE.txt for details.
4+
///////////////////////////////////////////////////////////////////////////////
15
#ifndef CPPCORO_BROKEN_PROMISE_HPP_INCLUDED
26
#define CPPCORO_BROKEN_PROMISE_HPP_INCLUDED
37

include/cppcoro/single_consumer_event.hpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
///////////////////////////////////////////////////////////////////////////////
2+
// Copyright (c) Lewis Baker
3+
// Licenced under MIT license. See LICENSE.txt for details.
4+
///////////////////////////////////////////////////////////////////////////////
15
#ifndef CPPCORO_SINGLE_CONSUMER_EVENT_HPP_INCLUDED
26
#define CPPCORO_SINGLE_CONSUMER_EVENT_HPP_INCLUDED
37

@@ -22,6 +26,12 @@ namespace cppcoro
2226
{
2327
public:
2428

29+
/// \brief
30+
/// Construct a new event, initialising to either 'set' or 'not set' state.
31+
///
32+
/// \param initiallySet
33+
/// If true then initialises the event to the 'set' state.
34+
/// Otherwise, initialised the event to the 'not set' state.
2535
single_consumer_event(bool initiallySet = false) noexcept
2636
: m_state(initiallySet ? state::set : state::not_set)
2737
{}

include/cppcoro/task.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
///////////////////////////////////////////////////////////////////////////////
2+
// Copyright (c) Lewis Baker
3+
// Licenced under MIT license. See LICENSE.txt for details.
4+
///////////////////////////////////////////////////////////////////////////////
15
#ifndef CPPCORO_TASK_HPP_INCLUDED
26
#define CPPCORO_TASK_HPP_INCLUDED
37

lib/build.cake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
###############################################################################
2+
# Copyright Lewis Baker
3+
# Licenced under MIT license. See LICENSE.txt for details.
4+
###############################################################################
5+
16
import cake.path
27

38
from cake.tools import compiler, script, env, project

lib/use.cake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
###############################################################################
2+
# Copyright (c) Lewis Baker
3+
# Licenced under MIT license. See LICENSE.txt for details.
4+
###############################################################################
5+
16
import cake.path
27

38
from cake.tools import script, env, compiler

test/build.cake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
###############################################################################
2+
# Copyright (c) Lewis Baker
3+
# Licenced under MIT license. See LICENSE.txt for details.
4+
###############################################################################
5+
16
import cake.path
27

38
from cake.tools import script, env, compiler, project

test/main.cpp

Lines changed: 4 additions & 0 deletions

0 commit comments

Comments
 (0)