summaryrefslogtreecommitdiff
path: root/poppler/Sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'poppler/Sound.h')
-rw-r--r--poppler/Sound.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/poppler/Sound.h b/poppler/Sound.h
index 802f6ff4..5c049448 100644
--- a/poppler/Sound.h
+++ b/poppler/Sound.h
@@ -20,6 +20,8 @@
#ifndef Sound_H
#define Sound_H
+#include <memory>
+
class Object;
class Stream;
@@ -41,7 +43,7 @@ class Sound
{
public:
// Try to parse the Object obj
- static Sound *parseSound(Object *obj);
+ static std::unique_ptr<Sound> parseSound(Object *obj);
// Destructor
~Sound();