util/AllocatedString: rename to BasicAllocatedString
To make things simpler, AllocatedString is now a non-template class.
This commit is contained in:
committed by
Max Kellermann
parent
8d80280ab9
commit
cfb7f8ab84
@@ -194,7 +194,7 @@ private:
|
||||
bool is_exclusive;
|
||||
bool enumerate_devices;
|
||||
std::string device_config;
|
||||
std::vector<std::pair<unsigned int, AllocatedString<char>>> device_desc;
|
||||
std::vector<std::pair<unsigned int, AllocatedString>> device_desc;
|
||||
std::shared_ptr<WinEvent> event;
|
||||
std::optional<COM> com;
|
||||
ComPtr<IMMDeviceEnumerator> enumerator;
|
||||
|
||||
@@ -136,7 +136,7 @@ bool
|
||||
HttpdClient::SendResponse() noexcept
|
||||
{
|
||||
char buffer[1024];
|
||||
AllocatedString<> allocated = nullptr;
|
||||
AllocatedString allocated = nullptr;
|
||||
const char *response;
|
||||
|
||||
assert(state == State::RESPONSE);
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
AllocatedString<>
|
||||
AllocatedString
|
||||
icy_server_metadata_header(const char *name,
|
||||
const char *genre, const char *url,
|
||||
const char *content_type, int metaint) noexcept
|
||||
@@ -54,7 +54,7 @@ icy_server_metadata_header(const char *name,
|
||||
content_type);
|
||||
}
|
||||
|
||||
static AllocatedString<>
|
||||
static AllocatedString
|
||||
icy_server_metadata_string(const char *stream_title,
|
||||
const char* stream_url) noexcept
|
||||
{
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
#include "tag/Type.h"
|
||||
|
||||
struct Tag;
|
||||
template<typename T> class AllocatedString;
|
||||
class AllocatedString;
|
||||
|
||||
AllocatedString<char>
|
||||
AllocatedString
|
||||
icy_server_metadata_header(const char *name,
|
||||
const char *genre, const char *url,
|
||||
const char *content_type, int metaint) noexcept;
|
||||
|
||||
Reference in New Issue
Block a user