ADD_COMPILE_OPTIONS( -Werror )
ENDIF()
-ADD_COMPILE_OPTIONS( -Wall -Wextra -Wno-unused-parameter -Wfloat-equal -Wno-class-memaccess -Wno-cast-function-type )
+ADD_COMPILE_OPTIONS( -Wall -Wextra -Wno-unused-parameter -Wfloat-equal )
IF( ENABLE_COVERAGE OR "$ENV{CXXFLAGS}" MATCHES --coverage )
ADD_COMPILE_OPTIONS( --coverage )
/*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
{
// Requires a core update
mNeedsUpdate = true;
-
- DALI_FALLTHROUGH;
}
-
+ // No break, Fallthrough
case Gesture::Finished:
case Gesture::Cancelled:
{
/*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
}
mTouchDownConsumedActor.SetActor( NULL );
-
- DALI_FALLTHROUGH;
}
+ // No break, Fallthrough
case PointState::DOWN:
{
if( surfaceFrameBuffer &&
partialUpdateAvailable == Integration::PartialUpdateAvailable::TRUE )
{
+ const RenderListContainer::SizeType renderListCount = instruction.RenderListCount();
// Iterate through each render list.
if( surfaceFrameBuffer->IsPartialUpdateEnabled() )
{
#define DALI_COMMON_H
/*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#define DALI_ASSERT_DEBUG(cond)
#endif
-/// Use DALI_FALLTHROUGH in switch statements where one case is supposed to fall through into another case
-#if __has_cpp_attribute(fallthrough)
-#define DALI_FALLTHROUGH [[fallthrough]]
-#else
-#define DALI_FALLTHROUGH
-#endif
-
#endif // DALI_COMMON_H