Commit aeb89aa9 authored by Max Kellermann's avatar Max Kellermann

time/ISO8601: forward-declare StringBuffer

parent f885807e
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include "ModifiedSinceSongFilter.hxx" #include "ModifiedSinceSongFilter.hxx"
#include "LightSong.hxx" #include "LightSong.hxx"
#include "time/ISO8601.hxx" #include "time/ISO8601.hxx"
#include "util/StringBuffer.hxx"
std::string std::string
ModifiedSinceSongFilter::ToExpression() const noexcept ModifiedSinceSongFilter::ToExpression() const noexcept
......
/* /*
* Copyright 2007-2017 Content Management AG * Copyright 2007-2019 Content Management AG
* All rights reserved. * All rights reserved.
* *
* author: Max Kellermann <mk@cm4all.com> * author: Max Kellermann <mk@cm4all.com>
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "ISO8601.hxx" #include "ISO8601.hxx"
#include "Convert.hxx" #include "Convert.hxx"
#include "Parser.hxx" #include "Parser.hxx"
#include "util/StringBuffer.hxx"
StringBuffer<64> StringBuffer<64>
FormatISO8601(const struct tm &tm) noexcept FormatISO8601(const struct tm &tm) noexcept
......
/* /*
* Copyright 2007-2017 Content Management AG * Copyright 2007-2019 Content Management AG
* All rights reserved. * All rights reserved.
* *
* author: Max Kellermann <mk@cm4all.com> * author: Max Kellermann <mk@cm4all.com>
...@@ -33,13 +33,14 @@ ...@@ -33,13 +33,14 @@
#ifndef TIME_ISO8601_HXX #ifndef TIME_ISO8601_HXX
#define TIME_ISO8601_HXX #define TIME_ISO8601_HXX
#include "util/StringBuffer.hxx"
#include "util/Compiler.h" #include "util/Compiler.h"
#include <string>
#include <chrono> #include <chrono>
#include <stddef.h>
struct tm; struct tm;
template<size_t CAPACITY> class StringBuffer;
gcc_pure gcc_pure
StringBuffer<64> StringBuffer<64>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment