Skip to content

Commit

Permalink
No longer need cast.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Sep 11, 2015
1 parent 8698e09 commit d9417b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kernels/info/InfoKernel.cpp
Expand Up @@ -299,8 +299,7 @@ void InfoKernel::setup(const std::string& filename)
if (!m_needPoints)
readerOptions.add("count", 0);

m_manager = std::unique_ptr<PipelineManager>(
KernelSupport::makePipeline(filename));
m_manager = KernelSupport::makePipeline(filename);
m_reader = m_manager->getStage();
Stage *stage = m_reader;

Expand Down

0 comments on commit d9417b0

Please sign in to comment.