mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-21 03:40:57 +00:00
Fix minor problems with clang
This commit is contained in:
parent
39f344fd11
commit
2c7fe41d6d
@ -58,7 +58,7 @@ void HttpLoader::threadHttpRequest()
|
||||
base::replace_string(fn, "&", "-");
|
||||
fn = base::join_path(dir, fn);
|
||||
|
||||
std::ofstream output(fn);
|
||||
std::ofstream output(fn.c_str());
|
||||
net::HttpRequest http(m_url);
|
||||
net::HttpResponse response(&output);
|
||||
http.send(response);
|
||||
|
@ -10,6 +10,8 @@
|
||||
|
||||
#include "doc/frame_tags.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
namespace doc {
|
||||
|
||||
FrameTags::FrameTags(Sprite* sprite)
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include "base/serialization.h"
|
||||
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
|
||||
namespace doc {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Aseprite Document Library
|
||||
// Copyright (c) 2001-2014 David Capello
|
||||
// Copyright (c) 2001-2015 David Capello
|
||||
//
|
||||
// This file is released under the terms of the MIT license.
|
||||
// Read LICENSE.txt for more information.
|
||||
@ -14,6 +14,8 @@
|
||||
|
||||
using namespace gfx;
|
||||
|
||||
namespace gfx {
|
||||
|
||||
inline std::ostream& operator<<(std::ostream& os, const Clip& area)
|
||||
{
|
||||
return os << "("
|
||||
@ -25,6 +27,8 @@ inline std::ostream& operator<<(std::ostream& os, const Clip& area)
|
||||
<< area.size.h << ")";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
TEST(ScaledClip, WithoutClip)
|
||||
{
|
||||
Clip area;
|
||||
@ -82,7 +86,7 @@ TEST(ScaledClip, Zoom)
|
||||
// [ ]
|
||||
// a[a a b] b c c c DST
|
||||
// a a[a b b]b c c c SRC
|
||||
//
|
||||
//
|
||||
// Y:
|
||||
// -1 0 1 2 3
|
||||
// [ ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user