aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerStack.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2014-12-05 19:41:32 +0800
committerLefteris Karapetsas <lefteris@refu.co>2014-12-05 19:41:32 +0800
commitc8f96589c58c1a0ab290a192e4aa1dfb263d01df (patch)
treef6704f3c19d03bb7b5af175e223ea81a5fff104a /CompilerStack.h
parent27ef18865d4014e50e917674cf4a7444b7f5565a (diff)
downloaddexon-solidity-c8f96589c58c1a0ab290a192e4aa1dfb263d01df.tar.gz
dexon-solidity-c8f96589c58c1a0ab290a192e4aa1dfb263d01df.tar.zst
dexon-solidity-c8f96589c58c1a0ab290a192e4aa1dfb263d01df.zip
Stack compiler now correctly returns a string and not a pointer
Diffstat (limited to 'CompilerStack.h')
-rw-r--r--CompilerStack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerStack.h b/CompilerStack.h
index de356b1a..8dc546fb 100644
--- a/CompilerStack.h
+++ b/CompilerStack.h
@@ -74,7 +74,7 @@ public:
/// Prerequisite: Successful call to parse or compile.
/// @param type The type of the documentation to get.
/// Can be one of 3 types defined at @c documentation_type
- std::string const* getJsonDocumentation(enum DocumentationType type);
+ std::string const& getJsonDocumentation(enum DocumentationType type);
/// Returns the previously used scanner, useful for counting lines during error reporting.
Scanner const& getScanner() const { return *m_scanner; }