diff options
author | Murray Cumming <murrayc@murrayc.com> | 2015-11-20 10:10:51 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2015-11-20 10:18:15 +0100 |
commit | 760415293337380b9fa78000670f85bab7406bea (patch) | |
tree | f4bca74c00be9cb536d0fd5efee7d1f1dd3d2491 /gio/src/fileinputstream.ccg | |
parent | 18db5d7fff3b21a754dd053c0af658bdff90241e (diff) | |
download | glibmm-760415293337380b9fa78000670f85bab7406bea.tar.gz |
Gio: Use of nullptr instead of 0.
Diffstat (limited to 'gio/src/fileinputstream.ccg')
-rw-r--r-- | gio/src/fileinputstream.ccg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/src/fileinputstream.ccg b/gio/src/fileinputstream.ccg index 74242ddb..769cbae2 100644 --- a/gio/src/fileinputstream.ccg +++ b/gio/src/fileinputstream.ccg @@ -37,7 +37,7 @@ Glib::RefPtr<FileInfo> FileInputStream::query_info(const Glib::RefPtr<Cancellabl Glib::RefPtr<FileInfo> FileInputStream::query_info(const std::string& attributes) { GError* gerror = nullptr; - auto retvalue = Glib::wrap(g_file_input_stream_query_info(gobj(), g_strdup((attributes).c_str()), 0, &(gerror))); + auto retvalue = Glib::wrap(g_file_input_stream_query_info(gobj(), g_strdup((attributes).c_str()), nullptr, &(gerror))); if(gerror) ::Glib::Error::throw_exception(gerror); @@ -71,7 +71,7 @@ FileInputStream::query_info_async(const SlotAsyncReady& slot, const std::string& g_file_input_stream_query_info_async(gobj(), const_cast<char*>(attributes.c_str()), io_priority, - 0, + nullptr, &SignalProxy_async_callback, slot_copy); } |