projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Set proper locale to harfbuzz" into devel/master
[platform/core/uifw/dali-adaptor.git]
/
adaptors
/
ecore
/
wayland
/
clipboard-impl-ecore-wl.cpp
diff --git
a/adaptors/ecore/wayland/clipboard-impl-ecore-wl.cpp
b/adaptors/ecore/wayland/clipboard-impl-ecore-wl.cpp
index
19e040b
..
0839ca2
100644
(file)
--- a/
adaptors/ecore/wayland/clipboard-impl-ecore-wl.cpp
+++ b/
adaptors/ecore/wayland/clipboard-impl-ecore-wl.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 201
4
Samsung Electronics Co., Ltd.
+ * Copyright (c) 201
7
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.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-19,6
+19,9
@@
#include "clipboard-impl.h"
// EXTERNAL INCLUDES
#include "clipboard-impl.h"
// EXTERNAL INCLUDES
+// Ecore is littered with C style cast
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <Ecore.h>
#include <Ecore_Wayland.h>
#include <dali/public-api/object/any.h>
#include <Ecore.h>
#include <Ecore_Wayland.h>
#include <dali/public-api/object/any.h>
@@
-218,6
+221,7
@@
Clipboard::Clipboard(Impl* impl)
Clipboard::~Clipboard()
{
Clipboard::~Clipboard()
{
+ delete mImpl;
}
Dali::Clipboard Clipboard::Get()
}
Dali::Clipboard Clipboard::Get()
@@
-292,3
+296,5
@@
char* Clipboard::ExcuteBuffered( bool type, void *event )
} // namespace Internal
} // namespace Dali
} // namespace Internal
} // namespace Dali
+
+#pragma GCC diagnostic pop