A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Haivision/srt/commit/bc5a6429473648a70396a9acc229e04fd5e4d0a9 below:

[tests] Fixed range loop construct warning · Haivision/srt@bc5a642 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed Original file line number Diff line number Diff line change

@@ -345,7 +345,7 @@ bool CheckMaxValue(const OptionTestEntry& entry, SRTSOCKET sock, const char* des

345 345

template<class ValueType>

346 346

bool CheckInvalidValues(const OptionTestEntry& entry, SRTSOCKET sock, const char* sock_name)

347 347

{

348 -

for (const auto inval : entry.invalid_vals)

348 +

for (const auto& inval : entry.invalid_vals)

349 349

{

350 350

try {

351 351

const ValueType val = linb::any_cast<ValueType>(inval);

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4