Skip to content

Commit

Permalink
Fixing linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
eldakms committed Jul 15, 2016
1 parent 1ea6e5f commit 844bdea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Tests/UnitTests/ReaderTests/Common/ReaderTestHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ struct ReaderFixture
{
std::wstring configFN(configFileName.begin(), configFileName.end());
std::wstring configFileCommand(L"configFile=" + configFN);

std::vector<wchar_t*> arg{ L"CNTK", &configFileCommand[0] };
std::wstring cntk(L"CNTK");
std::vector<wchar_t*> arg{ &cntk[0], &configFileCommand[0] };
for(auto& p : additionalConfigParameters)
{
arg.push_back(&p[0]);
Expand Down
4 changes: 3 additions & 1 deletion Tests/UnitTests/ReaderTests/ReaderTests.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,9 @@
<None Include="Config\ImageAndTextReaderSimple_Config.cntk">
<Filter>Config</Filter>
</None>
<None Include="Config\HTKDeserializersSimpleDataLoop11_Config.cntk" />
<None Include="Config\HTKDeserializersSimpleDataLoop11_Config.cntk">
<Filter>Config</Filter>
</None>
</ItemGroup>
<ItemGroup>
<Xml Include="Data\ImageNet1K_intensity.xml">
Expand Down

0 comments on commit 844bdea

Please sign in to comment.