Skip to content

Commit

Permalink
Merge pull request #286 from jwillemsen/jwi-arrayredundantwhitespace
Browse files Browse the repository at this point in the history
Removed redundant whitespace
  • Loading branch information
jwillemsen authored Jul 14, 2023
2 parents 702ba4d + 5c01fae commit 7fac38a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ridlbe/c++11/config/cxx_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -858,15 +858,15 @@ def cxx_anyop_arg_typename(scope = nil)

class Array
def cxx_type(scope = nil)
sizes.reverse.inject(basetype.cxx_member_type(scope)) { |typestr, siz| typestr = "std::array< #{typestr}, #{siz}>" }
sizes.reverse.inject(basetype.cxx_member_type(scope)) { |typestr, siz| typestr = "std::array<#{typestr}, #{siz}>" }
end

def proxy_cxxtype(scope = nil)
sizes.reverse.inject(basetype.proxy_cxxtype(scope)) { |typestr, siz| typestr = "std::array< #{typestr}, #{siz}>" }
sizes.reverse.inject(basetype.proxy_cxxtype(scope)) { |typestr, siz| typestr = "std::array<#{typestr}, #{siz}>" }
end

def resolved_cxx_type(scope = nil)
sizes.reverse.inject(basetype.resolved_cxx_member_type(scope)) { |typestr, siz| typestr = "std::array< #{typestr}, #{siz}>" }
sizes.reverse.inject(basetype.resolved_cxx_member_type(scope)) { |typestr, siz| typestr = "std::array<#{typestr}, #{siz}>" }
end

def cxx_dim
Expand Down

0 comments on commit 7fac38a

Please sign in to comment.