mirror of
https://github.com/fmang/opustags.git
synced 2025-01-15 12:43:17 +01:00
Allow std literals everywhere
This commit is contained in:
parent
a435a28e9f
commit
9652f50316
@ -16,8 +16,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
using namespace std::literals::string_literals;
|
||||
|
||||
static const char help_message[] =
|
||||
PROJECT_NAME " version " PROJECT_VERSION
|
||||
R"raw(
|
||||
|
@ -13,8 +13,6 @@
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
using namespace std::literals::string_literals;
|
||||
|
||||
bool ot::is_opus_stream(const ogg_page& identification_header)
|
||||
{
|
||||
if (ogg_page_bos(&identification_header) == 0)
|
||||
|
@ -53,6 +53,8 @@
|
||||
#define le32toh(x) OSSwapLittleToHostInt32(x)
|
||||
#endif
|
||||
|
||||
using namespace std::literals;
|
||||
|
||||
namespace ot {
|
||||
|
||||
/**
|
||||
|
@ -18,8 +18,6 @@
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
|
||||
using namespace std::string_literals;
|
||||
|
||||
void ot::partial_file::open(const char* destination)
|
||||
{
|
||||
final_name = destination;
|
||||
|
2
t/cli.cc
2
t/cli.cc
@ -3,8 +3,6 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
using namespace std::literals::string_literals;
|
||||
|
||||
static ot::status read_comments(FILE* input, std::list<std::string>& comments, bool raw)
|
||||
{
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user