Skip to content
Snippets Groups Projects
Commit 3f52a9e2 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

correct several typos [ci skip]

parent dca8f96b
No related branches found
No related tags found
1 merge request!386fix several typos
......@@ -11,7 +11,7 @@
#
# .. note::
#
# If your testing command involces an invocation of the python
# If your testing command involves an invocation of the python
# interpreter you should use :code:`${PYTHON_EXECUTABLE}` for that.
# Also calling python executables through :code:`-m` is generally to
# be favored, e.g. :code:`${PYTHON_EXECUTABLE} -m pytest` instead of
......
......@@ -11,10 +11,10 @@ namespace Dune
/**
@ingroup Allocators
@brief Allocators which guarantees alignement of the memory
@brief Allocators which guarantee alignment of the memory
@tparam T type of the object one wants to allocate
@tparam Alignement explicitly specify the alignement, by default it is std::alignment_of<T>::value
@tparam T type of the object one wants to allocate
@tparam Alignment explicitly specify the alignment, by default it is std::alignment_of<T>::value
*/
template<class T, int Alignment = -1>
class AlignedAllocator : public MallocAllocator<T> {
......
......@@ -22,7 +22,7 @@ namespace Dune {
std::size_t expectedAlignment,
const void *address)
{
std::cerr << "Error: Detected invalid alignement for type " << className
std::cerr << "Error: Detected invalid alignment for type " << className
<< ": Address " << address << " not aligned to 0x" << std::hex
<< expectedAlignment << std::endl;
std::abort();
......
......@@ -21,7 +21,7 @@ enum DummyProtFlags { PROT_NONE, PROT_WRITE, PROT_READ };
#include "mallocallocator.hh"
#if not HAVE_MPROTECT
#error mprotect is required to use te DebugAllocator
#error mprotect is required to use the DebugAllocator
#else
namespace Dune
......
......@@ -10,7 +10,7 @@
namespace Dune {
//! An interface class for dcloneable objects
//! An interface class for cloneable objects
struct Cloneable {
/** \brief Clones the object
......
......@@ -10,7 +10,7 @@
namespace Dune
{
/// \brief An owning pointer wrapper that can be assigned to (smart) pointers. Can not be copied.
/// \brief An owning pointer wrapper that can be assigned to (smart) pointers. Cannot be copied.
/// Transfers ownership by cast to any (smart) pointer type. Releases the stored pointer on transfer.
/// NOTE: This is an intermediate solution to switch to std::unique_ptr in later releases smoothly.
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment