TensorRTs Deep Learning SDK Documentation: Mistake in sample code

I tried to parse a uff file in c++, with help of the tensorRT documentation
(https://docs.nvidia.com/deeplearning/sdk/tensorrt-developer-guide/index.html, chapter 2.2.4).

I used the exact code provided by the documentation and the samplecode at /usr/src/tensorrt/samples/sampleUffMNIST/sampleUffMNIST.cpp. However, following error occured:
error: ‘IUFFParser’ was not declared in this scope.

It took me quite a while to figure out the source of the mistake.
Apparently, the class is defined as ‘IUffParser’ in the headers and not as ‘IUFFParser’.

So if any developer reads this, PLEASE update the sample code in the documentation (
https://docs.nvidia.com/deeplearning/sdk/tensorrt-developer-guide/index.html
chapter 2.2.4

  1. Create the UFF parser:
    IUFFParser* parser = createUffParser();
    )
    Thanks.