projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MainWindow, View::View: Fix two memory errors reported by valgrind
[pulseview.git]
/
pv
/
view
/
cursorpair.hpp
diff --git
a/pv/view/cursorpair.hpp
b/pv/view/cursorpair.hpp
index 7cbd4f05f53aa440c1f35820ef4a2bc65bf17f9c..110f9ea087c046fc6afd4c859f715e979cdbbd2c 100644
(file)
--- a/
pv/view/cursorpair.hpp
+++ b/
pv/view/cursorpair.hpp
@@
-18,8
+18,8
@@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PULSEVIEW_PV_VIEW_CURSORPAIR_HPP
-#define PULSEVIEW_PV_VIEW_CURSORPAIR_HPP
+#ifndef PULSEVIEW_PV_VIEW
S_TRACEVIEW
_CURSORPAIR_HPP
+#define PULSEVIEW_PV_VIEW
S_TRACEVIEW
_CURSORPAIR_HPP
#include "cursor.hpp"
#include "cursor.hpp"
@@
-30,7
+30,8
@@
class QPainter;
namespace pv {
class QPainter;
namespace pv {
-namespace view {
+namespace views {
+namespace TraceView {
class CursorPair : public TimeItem
{
class CursorPair : public TimeItem
{
@@
-105,7
+106,8
@@
private:
QSizeF text_size_;
};
QSizeF text_size_;
};
-} // namespace view
+} // namespace TraceView
+} // namespace views
} // namespace pv
} // namespace pv
-#endif // PULSEVIEW_PV_VIEW_CURSORPAIR_HPP
+#endif // PULSEVIEW_PV_VIEW
S_TRACEVIEW
_CURSORPAIR_HPP