You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/11/07 20:38:35 UTC

[incubator-nuttx-apps] 07/07: Fix error: 'CTouchscreen' defined as a class here but previously declared as a struct

This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit dbc757d79dfc1ac15878e19cc321fbf9e8884a88
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri Nov 4 21:47:34 2022 +0800

    Fix error: 'CTouchscreen' defined as a class here but previously declared as a struct
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 include/graphics/nxwm/ccalibration.hxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/graphics/nxwm/ccalibration.hxx b/include/graphics/nxwm/ccalibration.hxx
index d76066333..2417f7fe0 100644
--- a/include/graphics/nxwm/ccalibration.hxx
+++ b/include/graphics/nxwm/ccalibration.hxx
@@ -64,7 +64,7 @@ namespace NxWM
    * Forward references
    */
 
-  struct CTouchscreen;
+  class CTouchscreen;
 
   /**
    * Touchscreen calibration data