Skip to content

Commit

Permalink
Merge pull request #299 from redboltz/add_missing_inline
Browse files Browse the repository at this point in the history
Added 'inline' to make_define().
  • Loading branch information
redboltz committed Jul 4, 2015
2 parents 1a6f826 + 55d09e6 commit d26e68e
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion erb/cpp03_define.hpp.erb
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ inline define<> make_define()
/// @cond
<%0.upto(GENERATION_LIMIT) {|i|%>
template <typename A0<%1.upto(i) {|j|%>, typename A<%=j%><%}%>>
define<A0<%1.upto(i) {|j|%>, A<%=j%><%}%>> make_define(A0& a0<%1.upto(i) {|j|%>, A<%=j%>& a<%=j%><%}%>)
inline define<A0<%1.upto(i) {|j|%>, A<%=j%><%}%>> make_define(A0& a0<%1.upto(i) {|j|%>, A<%=j%>& a<%=j%><%}%>)
{
return define<A0<%1.upto(i) {|j|%>, A<%=j%><%}%>>(a0<%1.upto(i) {|j|%>, a<%=j%><%}%>);
}
Expand Down

0 comments on commit d26e68e

Please sign in to comment.