mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-30 07:26:33 +02:00
fixed an issue with gcc and new Hash.h
This commit is contained in:
parent
09323fe120
commit
206d7814c6
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// Hash.h
|
// Hash.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/Main/Foundation/include/Poco/Hash.h#3 $
|
// $Id: //poco/Main/Foundation/include/Poco/Hash.h#4 $
|
||||||
//
|
//
|
||||||
// Library: Foundation
|
// Library: Foundation
|
||||||
// Package: Hashing
|
// Package: Hashing
|
||||||
@ -47,6 +47,17 @@
|
|||||||
namespace Poco {
|
namespace Poco {
|
||||||
|
|
||||||
|
|
||||||
|
std::size_t Foundation_API hash(Int8 n);
|
||||||
|
std::size_t Foundation_API hash(UInt8 n);
|
||||||
|
std::size_t Foundation_API hash(Int16 n);
|
||||||
|
std::size_t Foundation_API hash(UInt16 n);
|
||||||
|
std::size_t Foundation_API hash(Int32 n);
|
||||||
|
std::size_t Foundation_API hash(UInt32 n);
|
||||||
|
std::size_t Foundation_API hash(Int64 n);
|
||||||
|
std::size_t Foundation_API hash(UInt64 n);
|
||||||
|
std::size_t Foundation_API hash(const std::string& str);
|
||||||
|
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
struct Hash
|
struct Hash
|
||||||
/// A generic hash function.
|
/// A generic hash function.
|
||||||
@ -59,17 +70,6 @@ struct Hash
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
std::size_t Foundation_API hash(Int8 n);
|
|
||||||
std::size_t Foundation_API hash(UInt8 n);
|
|
||||||
std::size_t Foundation_API hash(Int16 n);
|
|
||||||
std::size_t Foundation_API hash(UInt16 n);
|
|
||||||
std::size_t Foundation_API hash(Int32 n);
|
|
||||||
std::size_t Foundation_API hash(UInt32 n);
|
|
||||||
std::size_t Foundation_API hash(Int64 n);
|
|
||||||
std::size_t Foundation_API hash(UInt64 n);
|
|
||||||
std::size_t Foundation_API hash(const std::string& str);
|
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// inlines
|
// inlines
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user