Files
xahaud/include/nudb/progress.hpp
Vinnie Falco 79159ffd87 Squashed 'src/nudb/' content from commit 00adc6a
git-subtree-dir: src/nudb
git-subtree-split: 00adc6a4f16679a376f40c967f77dfa544c179c1
2016-09-29 19:24:12 -04:00

33 lines
634 B
C++

//
// Copyright (c) 2015-2016 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef NUDB_PROGRESS_HPP
#define NUDB_PROGRESS_HPP
namespace nudb {
/** Progress function that does nothing.
This type meets the requirements of @b Progress,
and does nothing when invoked.
*/
struct
no_progress
{
no_progress() = default;
/// Called to indicate progress
void
operator()(std::uint64_t, std::uint64_t) const noexcept
{
};
};
} // nudb
#endif