From 22cf05a3f8181fa7e2bce0cd09d400bddd88b2a5 Mon Sep 17 00:00:00 2001 From: Gammasoft Date: Mon, 9 Oct 2023 18:49:10 +0200 Subject: [PATCH] Update graph_control.cpp --- .../user_controls/graph_control/src/graph_control.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/xtd.forms.examples/user_controls/graph_control/src/graph_control.cpp b/examples/xtd.forms.examples/user_controls/graph_control/src/graph_control.cpp index 125f7d9add30..05ed85605c8b 100644 --- a/examples/xtd.forms.examples/user_controls/graph_control/src/graph_control.cpp +++ b/examples/xtd.forms.examples/user_controls/graph_control/src/graph_control.cpp @@ -60,7 +60,7 @@ class signal_generator_base abstract_ { on_signal_generated({next_signal(), date_time::now()}); } }}; - iasync_result_ptr generator_result_; + async_result generator_result_; }; class random_signal_generator : public signal_generator_base { @@ -120,7 +120,7 @@ class graph_control : public user_control { grid_horizontal_line_color_ = value; return *this; } - graph_control& grid_horizontal_line_color(nullptr_t) noexcept { + graph_control& grid_horizontal_line_color(std::nullptr_t) noexcept { grid_horizontal_line_color_.reset(); return *this; } @@ -148,7 +148,7 @@ class graph_control : public user_control { grid_vertical_line_color_ = value; return *this; } - graph_control& grid_vertical_line_color(nullptr_t) noexcept { + graph_control& grid_vertical_line_color(std::nullptr_t) noexcept { grid_vertical_line_color_.reset(); return *this; } @@ -176,7 +176,7 @@ class graph_control : public user_control { x_axis_line_color_ = value; return *this; } - graph_control& x_axis_line_color(nullptr_t) noexcept { + graph_control& x_axis_line_color(std::nullptr_t) noexcept { x_axis_line_color_.reset(); return *this; } @@ -198,7 +198,7 @@ class graph_control : public user_control { y_axis_line_color_ = value; return *this; } - graph_control& y_axis_line_color(nullptr_t) noexcept { + graph_control& y_axis_line_color(std::nullptr_t) noexcept { y_axis_line_color_.reset(); return *this; }