Skip to content

Commit edce801

Browse files
authored
Comment out static assertion and update go_for_item
Commented out a static assertion in go_for_item function and added a temporary fix for handling const objects.
1 parent 1659a3c commit edce801

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stable/QapGen/QapLexer.inl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,14 +1051,14 @@ static bool go_for_poly(i_dev&dev,TAutoPtr<TYPE>&ref){
10511051
}
10521052
return ok;
10531053
}
1054-
1054+
/*
10551055
template<class TYPE>
10561056
static bool go_for_item(i_dev&dev,const TYPE&ref,...){
10571057
static_assert(false,"no way! 2025.06.26 12:07:07.855"); // look like you call save_obj with const lexer
10581058
//static_assert(false,__FILE__":"__FUNCTION__" => so bad :(");
10591059
//QapDebugMsg(Sys$$<TYPE>::GetRTTI(dev.getEnv())->GetFullName()+" => no way!");
10601060
return false;
1061-
}
1061+
}*/
10621062

10631063
template<class TYPE>
10641064
static bool go_for_item(i_dev&dev,const TYPE&ref,...){

0 commit comments

Comments
 (0)