Skip to content

Commit 73918fa

Browse files
committed
ls-mat-subsys.h: Include more headers (bug #45833).
* libinterp/corefcn/ls-mat-subsys.h: Include headers for classes and types that are referenced in this header. * libinterp/corefcn/ls-mat-subsys.cc: Remove headers that are already included in ls-mat-subsys.h.
1 parent 2167c8a commit 73918fa

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

libinterp/corefcn/ls-mat-subsys.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,13 @@
2929

3030
#include "byte-swap.h"
3131

32-
#include "Cell.h"
3332
#include "cdef-class.h"
3433
#include "cdef-utils.h"
3534
#include "error.h"
3635
#include "interpreter-private.h"
3736
#include "load-save.h"
3837
#include "ls-mat-subsys.h"
39-
#include "oct-map.h"
4038
#include "ov-classdef.h"
41-
#include "ov.h"
4239

4340
static inline bool
4441
is_valid_mcos_object (const octave_value& metadata)

libinterp/corefcn/ls-mat-subsys.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,19 @@
2828

2929
#include "octave-config.h"
3030

31+
#include <cstdint>
32+
33+
#include <array>
3134
#include <iosfwd>
3235
#include <string>
36+
#include <tuple>
37+
#include <utility>
38+
#include <vector>
39+
40+
#include "Cell.h"
41+
#include "oct-map.h"
42+
#include "ov.h"
43+
#include "str-vec.h"
3344

3445
OCTAVE_BEGIN_NAMESPACE(octave)
3546

0 commit comments

Comments
 (0)