Skip to content

Commit

Permalink
Add missing cassert includes
Browse files Browse the repository at this point in the history
Without these includes, ‘assert’ was not declared in this scope errors
occur.
  • Loading branch information
candrews authored and gusandrianos committed Feb 11, 2020
1 parent 573763d commit ecb8114
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xbmc/profiles/dialogs/GUIDialogProfileSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
#include "utils/StringUtils.h"
#include "utils/URIUtils.h"
#include "utils/Variant.h"
#include "ServiceBroker.h"
#include "utils/log.h"

#include <cassert>
#include <utility>

#define SETTING_PROFILE_NAME "profile.name"
#define SETTING_PROFILE_IMAGE "profile.image"
Expand Down
2 changes: 2 additions & 0 deletions xbmc/windowing/GraphicContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include "guilib/GUIWindowManager.h"
#include "guilib/TextureManager.h"

#include <cassert>

using namespace KODI::MESSAGING;

CGraphicContext::CGraphicContext(void) = default;
Expand Down

0 comments on commit ecb8114

Please sign in to comment.