A RetroSearch Logo

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

Search Query:

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

[core] Added explicit to the Scoped and UniqueLock constructors · Haivision/srt@48d1364 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-2

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

@@ -344,7 +344,7 @@ class SRT_ATTR_SCOPED_CAPABILITY ScopedLock

344 344

{

345 345

public:

346 346

SRT_ATTR_ACQUIRE(m)

347 -

ScopedLock(Mutex& m);

347 +

explicit ScopedLock(Mutex& m);

348 348 349 349

SRT_ATTR_RELEASE()

350 350

~ScopedLock();

@@ -362,7 +362,7 @@ class SRT_ATTR_SCOPED_CAPABILITY UniqueLock

362 362 363 363

public:

364 364

SRT_ATTR_ACQUIRE(m)

365 -

UniqueLock(Mutex &m);

365 +

explicit UniqueLock(Mutex &m);

366 366 367 367

SRT_ATTR_RELEASE()

368 368

~UniqueLock();

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