Make Uncopyable derivations public

This commit is contained in:
Vinnie Falco
2013-08-06 10:42:30 -07:00
parent f53f6df97c
commit b8bf735a66
79 changed files with 119 additions and 111 deletions

View File

@@ -39,7 +39,7 @@ class SqliteStatement;
class Ledger
: public boost::enable_shared_from_this <Ledger>
, public CountedObject <Ledger>
, Uncopyable
, public Uncopyable
{
public:
static char const* getCountedObjectName () { return "Ledger"; }

View File

@@ -9,7 +9,7 @@
/** Holds the cryptographic credentials identifying this instance of the server.
*/
class LocalCredentials : Uncopyable
class LocalCredentials : public Uncopyable
{
public:
LocalCredentials ();

View File

@@ -14,7 +14,7 @@
done by seeding the hashing function with a random number generated
at program startup.
*/
class HashMaps : Uncopyable
class HashMaps : public Uncopyable
{
public:
/** Golden ratio constant used in hashing functions.

View File

@@ -17,7 +17,7 @@
@note None of the listed interfaces are thread-safe.
*/
class LogFile : Uncopyable
class LogFile : public Uncopyable
{
public:
/** Construct with no associated system file.

View File

@@ -11,6 +11,15 @@
#include <boost/asio/io_service.hpp>
#include <boost/asio/ssl.hpp>
#include <boost/asio.hpp>
#include <boost/make_shared.hpp>
#include <boost/bind.hpp>
#include <boost/array.hpp>
#include <boost/foreach.hpp>
#include <boost/unordered_map.hpp> // for unit test
#include <boost/mpl/at.hpp>
#include <boost/mpl/vector.hpp>
/** Implementations for boost::asio abstractions.
These require boost::asio header material to be included.

View File

@@ -14,7 +14,7 @@
All operations are performed asynchronously on an internal thread.
*/
class Validators : Uncopyable
class Validators : public Uncopyable
{
public:
/** Provides a ValidatorList.