Fix GCC 4.9 compilation errors.
This commit is contained in:
parent
d06aa6535d
commit
c0fb888c42
@ -145,7 +145,7 @@ Result<string> get_suggested_file_name(CSlice directory, Slice file_name) {
|
||||
file_name = cleaned_name;
|
||||
|
||||
if (directory.empty()) {
|
||||
directory = "./";
|
||||
directory = CSlice("./");
|
||||
}
|
||||
|
||||
auto dir_stat = stat(directory);
|
||||
|
@ -130,7 +130,7 @@ ConnectionCreator::ConnectionCreator(ActorShared<> parent) : parent_(std::move(p
|
||||
|
||||
ConnectionCreator::ConnectionCreator(ConnectionCreator &&other) = default;
|
||||
|
||||
ConnectionCreator &ConnectionCreator::operator=(ConnectionCreator &&other) noexcept = default;
|
||||
ConnectionCreator &ConnectionCreator::operator=(ConnectionCreator &&other) = default;
|
||||
|
||||
ConnectionCreator::~ConnectionCreator() = default;
|
||||
|
||||
|
@ -55,7 +55,7 @@ class ConnectionCreator final : public NetQueryCallback {
|
||||
public:
|
||||
explicit ConnectionCreator(ActorShared<> parent);
|
||||
ConnectionCreator(ConnectionCreator &&other);
|
||||
ConnectionCreator &operator=(ConnectionCreator &&other) noexcept;
|
||||
ConnectionCreator &operator=(ConnectionCreator &&other);
|
||||
~ConnectionCreator() final;
|
||||
|
||||
void on_dc_options(DcOptions new_dc_options);
|
||||
|
Loading…
Reference in New Issue
Block a user