Fix a bug in resource compiler and resubmit lost commit (#141)
Fix a bug in resource compiler and resubmit lost commit (#141)

* Fix a bug in resource compiler and resubmit lost commit

Includes Resubmission of commit#bc36d21916d9487c2f4989892a29fb79ca5978b6
Signed-off-by: The Mathworks Inc <84dd9758784f644395c0f001c659d360269016e4@mathworks.com>

* Remove redundant code

Signed-off-by: The Mathworks Inc <84dd9758784f644395c0f001c659d360269016e4@mathworks.com>

* Use a constant instead of hard coded value

Signed-off-by: The Mathworks Inc, <84dd9758784f644395c0f001c659d360269016e4@mathworks.com>

ksubramz/CppMicroServices,saschazelzer/CppMicroServices,CppMicroServices/CppMicroServices,ksubramz/CppMicroServices,ksubramz/CppMicroServices,saschazelzer/CppMicroServices,CppMicroServices/CppMicroServices,CppMicroServices/CppMicroServices,ksubramz/CppMicroServices,CppMicroServices/CppMicroServices,ksubramz/CppMicroServices,CppMicroServices/CppMicroServices