Skip to content

Commit e82e320

Browse files
authored
Resolve various errors in reference syntax
1 parent e306168 commit e82e320

File tree

12 files changed

+14
-15
lines changed

12 files changed

+14
-15
lines changed

docs/atl/reference/ccomcurrency-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ Returns a reference to a `CURRENCY` object.
563563
Call this method to round the currency to a specified number of decimal places.
564564

565565
```cpp
566-
HRESULT Roundint nDecimals);
566+
HRESULT Round(int nDecimals);
567567
```
568568
569569
### Parameters

docs/atl/reference/cthreadpool-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ This class does not implement lifetime control using reference counting.
265265
Call this method to set the number of threads in the pool.
266266

267267
```
268-
HRESULT STDMETHODCALLTYPE SetSizeint nNumThreads) throw();
268+
HRESULT STDMETHODCALLTYPE SetSize(int nNumThreads) throw();
269269
```
270270

271271
### Parameters

docs/c-runtime-library/lock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Acquires a multi-thread lock.
2020
## Syntax
2121

2222
```cpp
23-
void __cdecl _lock
23+
void __cdecl _lock(
2424
int locknum
2525
);
2626
```

docs/c-runtime-library/reference/crtreportblocktype.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Returns the block type/subtype associated with a given debug heap block pointer.
1919
```C
2020
int _CrtReportBlockType(
2121
const void * pBlock
22-
};
22+
);
2323
```
2424

2525
### Parameters

docs/c-runtime-library/reference/fwide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Unimplemented.
1919
```C
2020
int fwide(
2121
FILE *stream,
22-
int mode;
22+
int mode
2323
);
2424
```
2525

docs/cppcx/platform-collections-map-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Initializes a new instance of the Map class.
206206
```cpp
207207
explicit Map(const C& comp = C());
208208
explicit Map(const StdMap& m);
209-
explicit Map(StdMap&& m ;
209+
explicit Map(StdMap&& m);
210210
template <typename InIt>
211211
Map(
212212
InItfirst,

docs/cppcx/wrl/module-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ Unregisters one or more COM objects, which prevents other applications from conn
396396
virtual HRESULT UnregisterCOMObject(
397397
const wchar_t* serverName,
398398
DWORD* cookies,
399-
unsigned int count
399+
unsigned int count);
400400
```
401401
402402
### Parameters

docs/mfc/reference/cmfcpropertygridproperty-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ This method supports the following variant types: `VT_INT`, `VT_I2`, `VT_I4`, `V
12591259
## <a name="onsetselection"></a> `CMFCPropertyGridProperty::OnSetSelection`
12601260

12611261
```cpp
1262-
virtual void OnSetSelection CMFCPropertyGridProperty*);
1262+
virtual void OnSetSelection(CMFCPropertyGridProperty*);
12631263
```
12641264
12651265
### Parameters

docs/standard-library/hash-map-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ The data value of the first element in the hash_map is 10.
516516
A type that provides a bidirectional iterator that can read any **`const`** element in the `hash_map`.
517517

518518
```cpp
519-
typedef list<typename Traits::value_type, typename Traits::allocator_type>::const_reverse)iterator const_reverse_iterator;
519+
typedef list<typename Traits::value_type, typename Traits::allocator_type>::const_reverse_iterator const_reverse_iterator;
520520
```
521521

522522
### Remarks

docs/standard-library/hash-multiset-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,11 +1294,11 @@ hash_multiset(
12941294
12951295
hash_multiset(
12961296
hash_multiset&& Right
1297-
};
1297+
);
12981298
hash_multiset (initializer_list<Type> IList);
12991299
13001300
hash_multiset(
1301-
initializer_list<Tu[e> IList, const Compare& Comp):
1301+
initializer_list<Type> IList, const Compare& Comp):
13021302
hash_multiset(
13031303
initializer_list<Type> IList, const Compare& Comp, const Allocator& Al);
13041304

0 commit comments

Comments
 (0)