Include base/debug.h on files that use ASSERT or TRACE

This commit is contained in:
David Capello 2016-03-03 19:17:07 -03:00
parent f9238cd77b
commit 4f6a7a7742
18 changed files with 33 additions and 14 deletions

View File

@ -10,6 +10,7 @@
#include "base/log.h"
#include "base/debug.h"
#include "base/fstream_path.h"
#include <cstdarg>

View File

@ -1,5 +1,5 @@
// Aseprite Base Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -8,6 +8,8 @@
#define BASE_OBSERVERS_H_INCLUDED
#pragma once
#include "base/debug.h"
#include <algorithm>
#include <vector>

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -18,6 +18,7 @@
#include "doc/blend_funcs.h"
#include "base/debug.h"
#include "doc/blend_internals.h"
#include <cmath>

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -8,6 +8,7 @@
#define DOC_COLOR_SCALES_H_INCLUDED
#pragma once
#include "base/debug.h"
#include "doc/frame.h"
#include "doc/object.h"

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "doc/context.h"
#include "base/debug.h"
#include "doc/site.h"
namespace doc {

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "doc/frame_tag.h"
#include "base/debug.h"
#include "doc/frame_tags.h"
namespace doc {

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "doc/frame_tags.h"
#include "base/debug.h"
#include "doc/frame_tag.h"
#include <algorithm>

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "doc/object.h"
#include "base/debug.h"
#include "base/mutex.h"
#include "base/scoped_lock.h"

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -8,6 +8,7 @@
#define DOC_PALETTE_H_INCLUDED
#pragma once
#include "base/debug.h"
#include "doc/color.h"
#include "doc/frame.h"
#include "doc/object.h"

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -8,6 +8,7 @@
#define DOC_REMAP_H_INCLUDED
#pragma once
#include "base/debug.h"
#include <vector>
namespace doc {

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -8,6 +8,7 @@
#define DOC_RGBMAP_H_INCLUDED
#pragma once
#include "base/debug.h"
#include "base/disable_copying.h"
#include "doc/object.h"

View File

@ -1,5 +1,5 @@
// Aseprite Network Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "net/http_request.h"
#include "base/debug.h"
#include "net/http_headers.h"
#include "net/http_response.h"

View File

@ -4,6 +4,7 @@
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#include "base/debug.h"
#include "base/dll.h"
#include "base/fs.h"
#include "base/path.h"

View File

@ -8,6 +8,7 @@
#include "config.h"
#endif
#include "base/debug.h"
#include "render/zoom.h"
namespace render {

View File

@ -1,5 +1,5 @@
// SHE library
// Copyright (C) 2012-2015 David Capello
// Copyright (C) 2012-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -8,6 +8,7 @@
#define SHE_COMMON_FONT_H
#pragma once
#include "base/debug.h"
#include "base/string.h"
#include "gfx/rect.h"
#include "she/font.h"

View File

@ -10,6 +10,7 @@
#include "ui/accelerator.h"
#include "base/debug.h"
#include "base/replace_string.h"
#include "base/split_string.h"
#include "base/string.h"

View File

@ -1,5 +1,5 @@
// Aseprite UI Library
// Copyright (C) 2001-2013 David Capello
// Copyright (C) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -10,6 +10,7 @@
#include "ui/cursor.h"
#include "base/debug.h"
#include "she/surface.h"
namespace ui {

View File

@ -1,5 +1,5 @@
// Aseprite
// Copyright (C) 2001-2015 David Capello
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -12,6 +12,7 @@
#include "updater/check_update.h"
#include "base/bind.h"
#include "base/debug.h"
#include "base/convert_to.h"
#include "net/http_headers.h"
#include "net/http_request.h"