26 lines
766 B
Diff
26 lines
766 B
Diff
From 05a915983f723e26d1c6fb30605b05e60cb62f6c Mon Sep 17 00:00:00 2001
|
|
From: zhangxianting <zhangxianting@uniontech.com>
|
|
Date: Fri, 16 Aug 2024 17:46:58 +0800
|
|
Subject: [PATCH] fix build error, streampos is a member of 'std', not 'std::ios'
|
|
|
|
---
|
|
liboctave/util/lo-utils.cc | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/liboctave/util/lo-utils.cc b/liboctave/util/lo-utils.cc
|
|
index 0807fed..b287f77 100644
|
|
--- a/liboctave/util/lo-utils.cc
|
|
+++ b/liboctave/util/lo-utils.cc
|
|
@@ -250,7 +250,7 @@ octave_read_fp_value (std::istream& is)
|
|
|
|
// FIXME: resetting stream position is likely to fail unless we are
|
|
// reading from a file.
|
|
- std::ios::streampos pos = is.tellg ();
|
|
+ std::streampos pos = is.tellg ();
|
|
|
|
char c1 = ' ';
|
|
|
|
--
|
|
2.43.0
|
|
|